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:
Soren I. Bjornstad 2014-07-03 13:58:47 -05:00
parent 2d7e1ad017
commit 45a6e8cdba

View File

@ -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."