Clear the module tree when the reloadData method is called
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 20 Feb 2009 14:37:34 +0000 (14:37 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 20 Feb 2009 14:37:34 +0000 (14:37 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2370 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BModulePage.py

index df2122f00c0e8db2c9fdeb75189b3b0a6826aafc..a2f13a5474dcd33fc0102b15b1d61b5f26bd3d02 100644 (file)
@@ -187,6 +187,7 @@ class BModulePage(BWizardPage):
             self._currentPropertyItem().setText(description + "\n" + name)
     
     def _setupUi(self):
+        self.pageContent.moduleTree.clear()
         self.pageContent.moduleTree.setHeaderHidden(True)
         self.pageContent.propertyTable.horizontalHeader().setResizeMode(QHeaderView.Stretch)
         self.pageContent.propertyTable.horizontalHeader().setVisible(False)