Project/ProjectBrowserModel.py

changeset 3440
ddcce63ab5cc
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
equal deleted inserted replaced
3439:08aa0cef69e3 3440:ddcce63ab5cc
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 """

eric ide

mercurial