PluginRepositoryDialog: fixed a copy & paste issue causing a faulty signal-slot connection. eric7

Sat, 22 Jan 2022 17:03:25 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 22 Jan 2022 17:03:25 +0100
branch
eric7
changeset 8930
5e3bd6f49a84
parent 8929
fcca2fa618bf
child 8931
556613adedc0
child 8932
a21e80dde10e

PluginRepositoryDialog: fixed a copy & paste issue causing a faulty signal-slot connection.

eric7/PluginManager/PluginRepositoryDialog.py file | annotate | diff | comparison | revisions
--- a/eric7/PluginManager/PluginRepositoryDialog.py	Sat Jan 22 14:44:56 2022 +0100
+++ b/eric7/PluginManager/PluginRepositoryDialog.py	Sat Jan 22 17:03:25 2022 +0100
@@ -109,7 +109,7 @@
             self.__downloadButton = QToolButton(self)
             self.__downloadButton.setIcon(UI.PixmapCache.getIcon("download"))
             self.__downloadButton.setToolTip(self.tr("Download"))
-            self.__updateButton.clicked.connect(self.__downloadButtonClicked)
+            self.__downloadButton.clicked.connect(self.__downloadButtonClicked)
             self.__actionButtonsLayout.addWidget(self.__downloadButton)
             
             self.__downloadInstallButton = QToolButton(self)
@@ -404,7 +404,9 @@
         if self.__isDownloadInstall:
             self.__allDownloadedOk &= status
         
-        self.__pluginsToDownload.pop(0)
+        if len(self.__pluginsToDownload):
+            self.__pluginsToDownload.pop(0)
+        
         if len(self.__pluginsToDownload):
             self.__downloadPlugin()
         else:

eric ide

mercurial