mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
fix automatic 'deck:current' missing trailing space
3aeb5d8
accidentally added some duplicate code that made the search
parser run twice and strip the space from the search that had just been
automatically placed in the box.
This commit is contained in:
parent
2d7e1ad017
commit
45a6e8cdba
1 changed files with 0 additions and 3 deletions
|
@ -513,9 +513,6 @@ class Browser(QMainWindow):
|
|||
self.onSearch)
|
||||
self.form.searchEdit.setCompleter(None)
|
||||
self.form.searchEdit.addItems(self.mw.pm.profile['searchHistory'])
|
||||
self.connect(self.form.searchEdit.lineEdit(),
|
||||
SIGNAL("returnPressed()"),
|
||||
self.onSearch)
|
||||
|
||||
def onSearch(self, reset=True):
|
||||
"Careful: if reset is true, the current note is saved."
|
||||
|
|
Loading…
Reference in a new issue