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
@ -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 New Issue
Block a user