src/eric7/UI/BrowserModel.py

branch
eric7
changeset 10848
328c9a177c64
parent 10842
d7fe0566dfa8
child 10949
2057b1b198a5
equal deleted inserted replaced
10847:b3f04b83fc84 10848:328c9a177c64
424 @rtype bool 424 @rtype bool
425 """ 425 """
426 parentPath = os.path.dirname(path) 426 parentPath = os.path.dirname(path)
427 if parentPath not in self.watchedDirItems: 427 if parentPath not in self.watchedDirItems:
428 # just ignore the situation we don't have a reference to the item 428 # just ignore the situation we don't have a reference to the item
429 return 429 return False
430 430
431 for itm in self.watchedDirItems[parentPath]: 431 for itm in self.watchedDirItems[parentPath]:
432 for row in range(itm.childCount() - 1, -1, -1): 432 for row in range(itm.childCount() - 1, -1, -1):
433 child = itm.child(row) 433 child = itm.child(row)
434 if child.name() == path: 434 if child.name() == path:

eric ide

mercurial