Fixed an issue in the plugin repository widget. eric7

Sun, 26 Sep 2021 20:11:49 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 26 Sep 2021 20:11:49 +0200
branch
eric7
changeset 8645
67eb147b3531
parent 8644
4a84adb1216a
child 8646
4b84216fc8e2

Fixed an issue in the plugin repository widget.

eric7/PluginManager/PluginRepositoryDialog.py file | annotate | diff | comparison | revisions
--- a/eric7/PluginManager/PluginRepositoryDialog.py	Sun Sep 26 20:04:58 2021 +0200
+++ b/eric7/PluginManager/PluginRepositoryDialog.py	Sun Sep 26 20:11:49 2021 +0200
@@ -442,7 +442,8 @@
                     Preferences.getPluginManager("DownloadPath"),
                     itm.data(0, PluginRepositoryWidget.FilenameRole))
                 self.__pluginsToDownload.append((url, filename))
-        self.__downloadPlugin()
+        if self.__pluginsToDownload:
+            self.__downloadPlugin()
     
     def __downloadPluginsDone(self):
         """

eric ide

mercurial