diff --git a/.idea/Searcher.iml b/.idea/Searcher.iml index a773b57..2494daa 100644 --- a/.idea/Searcher.iml +++ b/.idea/Searcher.iml @@ -2,7 +2,7 @@ - + @@ -15,6 +15,6 @@ - + \ No newline at end of file diff --git a/python2.7libs/searcher/searcher.py b/python2.7libs/searcher/searcher.py index 4ae46fb..cb4d0f1 100644 --- a/python2.7libs/searcher/searcher.py +++ b/python2.7libs/searcher/searcher.py @@ -835,8 +835,9 @@ def processkey(self, key, tmphk=False): if tmphk: self.savelastkey(self.tmpsymbol, key) - key = key[0].split('+') - + if(key[0] is not '+'): + key = key[0].split('+') + skey = None ikey = None key = keyconversion(key) diff --git a/python2.7libs/searcher/util.py b/python2.7libs/searcher/util.py index f99c64a..fab87c9 100644 --- a/python2.7libs/searcher/util.py +++ b/python2.7libs/searcher/util.py @@ -377,8 +377,8 @@ def gethotkeys(): ")": QtCore.Qt.Key_ParenRight, "Asterisk": QtCore.Qt.Key_Asterisk, "*": QtCore.Qt.Key_Asterisk, - "Plus": QtCore.Qt.Key_Plus, "+": QtCore.Qt.Key_Plus, + "Plus": QtCore.Qt.Key_Plus, "Comma": QtCore.Qt.Key_Comma, ",": QtCore.Qt.Key_Comma, "Minus": QtCore.Qt.Key_Minus,