Preferences/ConfigurationDialog.py

branch
6_0_x
changeset 4168
ecb9c1a0e191
parent 4144
fb16b1759ba6
child 4215
31c7a83352ed
equal deleted inserted replaced
4167:763149f3a87e 4168:ecb9c1a0e191
516 childVisible = False 516 childVisible = False
517 filter = filter.lower() 517 filter = filter.lower()
518 for index in range(parent.childCount()): 518 for index in range(parent.childCount()):
519 itm = parent.child(index) 519 itm = parent.child(index)
520 if itm.childCount() > 0: 520 if itm.childCount() > 0:
521 visible = filter in itm.text(0).lower() or \ 521 visible = self.__filterChildItems(itm, filter) or \
522 self.__filterChildItems(itm, filter) 522 filter == "" or filter in itm.text(0).lower()
523 else: 523 else:
524 visible = filter == "" or filter in itm.text(0).lower() 524 visible = filter == "" or filter in itm.text(0).lower()
525 if visible: 525 if visible:
526 childVisible = True 526 childVisible = True
527 itm.setHidden(not visible) 527 itm.setHidden(not visible)

eric ide

mercurial