746 if itm.childCount(): |
746 if itm.childCount(): |
747 index = self.createIndex(itm.row(), 0, itm) |
747 index = self.createIndex(itm.row(), 0, itm) |
748 self.beginRemoveRows(index, 0, itm.childCount() - 1) |
748 self.beginRemoveRows(index, 0, itm.childCount() - 1) |
749 itm.removeChildren() |
749 itm.removeChildren() |
750 self.endRemoveRows() |
750 self.endRemoveRows() |
751 Utilities.ModuleParser.resetParsedModule(\ |
751 Utilities.ModuleParser.resetParsedModule( |
752 os.path.join(self.project.ppath, name)) |
752 os.path.join(self.project.ppath, name)) |
753 |
753 |
754 self.populateItem(itm, True) |
754 self.populateItem(itm, True) |
755 |
755 |
756 def projectPropertiesChanged(self): |
756 def projectPropertiesChanged(self): |