src/eric7/Project/ProjectBrowserModel.py

branch
eric7
changeset 10677
6ee2e475490c
parent 10517
aecd5a8c958c
child 10679
4d3e0ce54322
equal deleted inserted replaced
10676:d1479a4f1426 10677:6ee2e475490c
869 if itm.childCount(): 869 if itm.childCount():
870 index = self.createIndex(itm.row(), 0, itm) 870 index = self.createIndex(itm.row(), 0, itm)
871 self.beginRemoveRows(index, 0, itm.childCount() - 1) 871 self.beginRemoveRows(index, 0, itm.childCount() - 1)
872 itm.removeChildren() 872 itm.removeChildren()
873 self.endRemoveRows() 873 self.endRemoveRows()
874
875 # reset the module parser cache
874 ModuleParser.resetParsedModule(os.path.join(self.project.ppath, name)) 876 ModuleParser.resetParsedModule(os.path.join(self.project.ppath, name))
875 877
876 self.populateItem(itm, True) 878 self.populateItem(itm, True)
877 879
878 def projectPropertiesChanged(self): 880 def projectPropertiesChanged(self):

eric ide

mercurial