--- a/eric6/Preferences/ShortcutsDialog.py Fri Apr 02 11:59:41 2021 +0200 +++ b/eric6/Preferences/ShortcutsDialog.py Sat May 01 14:27:20 2021 +0200 @@ -44,7 +44,7 @@ @param parent parent widget of this dialog @type QWidget """ - super(ShortcutsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -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