From 45a6e8cdba13ed39d4b99b66118d1fdcfbe7fdc0 Mon Sep 17 00:00:00 2001 From: "Soren I. Bjornstad" Date: Thu, 3 Jul 2014 13:58:47 -0500 Subject: [PATCH] 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. --- aqt/browser.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/aqt/browser.py b/aqt/browser.py index 4a65ea9b1..758596032 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -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."