PluginRepositoryDialog: added lines to clear some form elements after the list of available plugins was repopulated. eric7

Mon, 13 Sep 2021 18:00:33 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 13 Sep 2021 18:00:33 +0200
branch
eric7
changeset 8597
57cdd880326b
parent 8596
d64760b2da50
child 8598
0460087da31b

PluginRepositoryDialog: added lines to clear some form elements after the list of available plugins was repopulated.

eric7/PluginManager/PluginRepositoryDialog.py file | annotate | diff | comparison | revisions
diff -r d64760b2da50 -r 57cdd880326b eric7/PluginManager/PluginRepositoryDialog.py
--- a/eric7/PluginManager/PluginRepositoryDialog.py	Sun Sep 12 20:22:27 2021 +0200
+++ b/eric7/PluginManager/PluginRepositoryDialog.py	Mon Sep 13 18:00:33 2021 +0200
@@ -280,6 +280,8 @@
         @param previous reference to the old current item (QTreeWidgetItem)
         """
         if self.__repositoryMissing or current is None:
+            self.descriptionEdit.clear()
+            self.authorEdit.clear()
             return
         
         url = current.data(0, PluginRepositoryWidget.UrlRole)

eric ide

mercurial