Skip to content

Commit

Permalink
Fixed plus sign hotkey issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
instance-id committed May 22, 2020
1 parent be44e1a commit 8bde06c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .idea/Searcher.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions python2.7libs/searcher/searcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion python2.7libs/searcher/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8bde06c

Please sign in to comment.