eric6/PluginManager/PluginRepositoryDialog.py

changeset 8222
5994b80b8760
parent 8218
7c09585bd960
child 8234
fcb6b4b96274
equal deleted inserted replaced
8221:0572a215bd2f 8222:5994b80b8760
532 Private slot to cancel the current download. 532 Private slot to cancel the current download.
533 533
534 @param reply reference to the network reply 534 @param reply reference to the network reply
535 @type QNetworkReply 535 @type QNetworkReply
536 """ 536 """
537 if reply is None: 537 if reply is None and bool(self.__replies):
538 if self.__replies: 538 reply = self.__replies[0]
539 reply = self.__replies[0]
540 self.__pluginsToDownload = [] 539 self.__pluginsToDownload = []
541 if reply is not None: 540 if reply is not None:
542 reply.abort() 541 reply.abort()
543 542
544 def __downloadProgress(self, done, total): 543 def __downloadProgress(self, done, total):

eric ide

mercurial