Changed the logic of the config dialog item filter slightly (to be more logically). 6_0_x

Tue, 24 Feb 2015 18:31:14 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Feb 2015 18:31:14 +0100
branch
6_0_x
changeset 4129
8d557a90b6e7
parent 4123
d311c814a5de
child 4135
e429edcd67cf

Changed the logic of the config dialog item filter slightly (to be more logically).
(grafted from 6e1ee14d5f23bd3118271a923ff2166046e311b2)

Preferences/ConfigurationDialog.py file | annotate | diff | comparison | revisions
diff -r d311c814a5de -r 8d557a90b6e7 Preferences/ConfigurationDialog.py
--- a/Preferences/ConfigurationDialog.py	Fri Feb 20 18:05:30 2015 +0100
+++ b/Preferences/ConfigurationDialog.py	Tue Feb 24 18:31:14 2015 +0100
@@ -518,7 +518,8 @@
         for index in range(parent.childCount()):
             itm = parent.child(index)
             if itm.childCount() > 0:
-                visible = self.__filterChildItems(itm, filter)
+                visible = filter in itm.text(0).lower() or \
+                    self.__filterChildItems(itm, filter)
             else:
                 visible = filter == "" or filter in itm.text(0).lower()
             if visible:

eric ide

mercurial