mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
leave space after deck:current
https://anki.tenderapp.com/discussions/ankidesktop/28662-add-space-after-deckcurrent
This commit is contained in:
parent
1ac83b7998
commit
475e2ab398
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ class Browser(QMainWindow):
|
|||
self.form.searchEdit.lineEdit().setText("deck:current ")
|
||||
|
||||
# update history
|
||||
txt = str(self.form.searchEdit.lineEdit().text()).strip()
|
||||
txt = str(self.form.searchEdit.lineEdit().text())
|
||||
sh = self.mw.pm.profile['searchHistory']
|
||||
if txt in sh:
|
||||
sh.remove(txt)
|
||||
|
|
Loading…
Reference in a new issue