816 if itm.childCount(): |
816 if itm.childCount(): |
817 index = self.createIndex(itm.row(), 0, itm) |
817 index = self.createIndex(itm.row(), 0, itm) |
818 self.beginRemoveRows(index, 0, itm.childCount() - 1) |
818 self.beginRemoveRows(index, 0, itm.childCount() - 1) |
819 itm.removeChildren() |
819 itm.removeChildren() |
820 self.endRemoveRows() |
820 self.endRemoveRows() |
821 Utilities.ModuleParser.resetParsedModule( |
821 Utilities.ModuleParser.resetParsedModule( |
822 os.path.join(self.project.ppath, name)) |
822 os.path.join(self.project.ppath, name)) |
823 |
823 |
824 self.populateItem(itm, True) |
824 self.populateItem(itm, True) |
825 |
825 |
826 def projectPropertiesChanged(self): |
826 def projectPropertiesChanged(self): |
827 """ |
827 """ |
828 Public method to react on a change of the project properties. |
828 Public method to react on a change of the project properties. |
829 """ |
829 """ |