Sat, 22 Jan 2022 17:03:25 +0100
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: