diff --git a/openlp/core/common/settings.py b/openlp/core/common/settings.py index 3a48e8f34..56a48319a 100644 --- a/openlp/core/common/settings.py +++ b/openlp/core/common/settings.py @@ -243,6 +243,7 @@ class Settings(QtCore.QSettings): QtCore.QSettings.__init__(self, Settings.__file_path__, Settings.IniFormat) else: QtCore.QSettings.__init__(self, *args) + # Add shortcuts here so QKeySequence has a QApplication instance to use. Settings.__default_settings__.update({ 'shortcuts/aboutItem': [QtGui.QKeySequence(QtCore.Qt.CTRL + QtCore.Qt.Key_F1)], 'shortcuts/addToService': [], diff --git a/openlp/core/ui/shortcutlistdialog.py b/openlp/core/ui/shortcutlistdialog.py index c09fa0b8d..9afd68112 100644 --- a/openlp/core/ui/shortcutlistdialog.py +++ b/openlp/core/ui/shortcutlistdialog.py @@ -55,6 +55,11 @@ class ShortcutTreeWidget(QtWidgets.QTreeWidget): super(ShortcutTreeWidget, self).__init__(*args) def keyboardSearch(self, search): + """ + Prevent single letter searches from highlighting items. + + :param search: Search string + """ pass