eric7/PluginManager/PluginRepositoryDialog.py

branch
eric7
changeset 8930
5e3bd6f49a84
parent 8881
54e42bc2437a
child 9016
6f079c524e99
--- 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