allow shift click for OR query (#688)
This commit is contained in:
parent
872cca14e9
commit
dcf38f2f10
@ -733,6 +733,10 @@ by clicking on one on the left."""))
|
||||
cur = unicode(self.form.searchEdit.lineEdit().text())
|
||||
if cur:
|
||||
txt = cur + " " + txt
|
||||
elif self.mw.app.keyboardModifiers() & Qt.ShiftModifier:
|
||||
cur = unicode(self.form.searchEdit.lineEdit().text())
|
||||
if cur:
|
||||
txt = cur + " or " + txt
|
||||
self.form.searchEdit.lineEdit().setText(txt)
|
||||
self.onSearch()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user