Project/ProjectBrowserModel.py

changeset 3038
7fe9a53280bd
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3037:a417a0670a36 3038:7fe9a53280bd
339 entryInfoList = qdir.entryInfoList(filter) 339 entryInfoList = qdir.entryInfoList(filter)
340 340
341 if len(entryInfoList) > 0: 341 if len(entryInfoList) > 0:
342 if repopulate: 342 if repopulate:
343 self.beginInsertRows(self.createIndex( 343 self.beginInsertRows(self.createIndex(
344 parentItem.row(), 0, parentItem), 344 parentItem.row(), 0, parentItem),
345 0, len(entryInfoList) - 1) 345 0, len(entryInfoList) - 1)
346 states = {} 346 states = {}
347 if self.project.vcs is not None: 347 if self.project.vcs is not None:
348 for f in entryInfoList: 348 for f in entryInfoList:
349 fname = f.absoluteFilePath() 349 fname = f.absoluteFilePath()

eric ide

mercurial