Preferences/ConfigurationDialog.py

branch
6_0_x
changeset 4129
8d557a90b6e7
parent 4022
f5f42921717e
child 4144
fb16b1759ba6
equal deleted inserted replaced
4123:d311c814a5de 4129:8d557a90b6e7
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 = self.__filterChildItems(itm, filter) 521 visible = filter in itm.text(0).lower() or \
522 self.__filterChildItems(itm, filter)
522 else: 523 else:
523 visible = filter == "" or filter in itm.text(0).lower() 524 visible = filter == "" or filter in itm.text(0).lower()
524 if visible: 525 if visible:
525 childVisible = True 526 childVisible = True
526 itm.setHidden(not visible) 527 itm.setHidden(not visible)

eric ide

mercurial