eric6/Preferences/ShortcutsDialog.py

changeset 8205
4a0f1f896341
parent 8143
2c730d5fd177
child 8218
7c09585bd960
diff -r fd477cded1c1 -r 4a0f1f896341 eric6/Preferences/ShortcutsDialog.py
--- a/eric6/Preferences/ShortcutsDialog.py	Thu Apr 08 17:27:12 2021 +0200
+++ b/eric6/Preferences/ShortcutsDialog.py	Thu Apr 08 18:27:47 2021 +0200
@@ -474,8 +474,8 @@
                     (self.actionButton.isChecked() and
                      rx.search(itm.text(0)) is not None) or
                     (self.shortcutButton.isChecked() and
-                     not txt.lower() in itm.text(1).lower() and
-                     not txt.lower() in itm.text(2).lower())
+                     txt.lower() not in itm.text(1).lower() and
+                     txt.lower() not in itm.text(2).lower())
                 ):
                     itm.setHidden(True)
                     childHiddenCount += 1

eric ide

mercurial