From: duplo Date: Fri, 20 Feb 2009 14:37:34 +0000 (+0000) Subject: Clear the module tree when the reloadData method is called X-Git-Tag: 2.1.0~312 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=9cfc4d7baa847bfd7e7b8db838566aa6be7200a8;p=bertos.git Clear the module tree when the reloadData method is called git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2370 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index df2122f0..a2f13a54 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -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)