Helpviewer/Download/DownloadManager.py

changeset 3020
542e97d4ecb3
parent 3002
6ffc581f00f1
child 3022
57179e4cdadd
equal deleted inserted replaced
3019:7912530a33e2 3020:542e97d4ecb3
136 Public method to check, if it is ok to quit. 136 Public method to check, if it is ok to quit.
137 137
138 @return flag indicating allowance to quit (boolean) 138 @return flag indicating allowance to quit (boolean)
139 """ 139 """
140 if self.activeDownloads() > 0: 140 if self.activeDownloads() > 0:
141 res = E5MessageBox.yesNo(self, 141 res = E5MessageBox.yesNo(
142 self,
142 self.trUtf8(""), 143 self.trUtf8(""),
143 self.trUtf8("""There are %n downloads in progress.\n""" 144 self.trUtf8("""There are %n downloads in progress.\n"""
144 """Do you want to quit anyway?""", "", 145 """Do you want to quit anyway?""", "",
145 self.activeDownloads()), 146 self.activeDownloads()),
146 icon=E5MessageBox.Warning) 147 icon=E5MessageBox.Warning)

eric ide

mercurial