mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
alt/option to invert search
This commit is contained in:
parent
7aa9b4cb0e
commit
1dc1f940fc
1 changed files with 2 additions and 0 deletions
|
@ -636,6 +636,8 @@ class Browser(QMainWindow):
|
|||
items.append(txt)
|
||||
txt = ""
|
||||
txt = " ".join(items)
|
||||
if self.mw.app.keyboardModifiers() & Qt.AltModifier:
|
||||
txt = "-"+txt
|
||||
if self.mw.app.keyboardModifiers() & Qt.ControlModifier:
|
||||
cur = unicode(self.form.searchEdit.text())
|
||||
if cur:
|
||||
|
|
Loading…
Reference in a new issue