From 8272541b49a042f2abd054dbcfb274776981a709 Mon Sep 17 00:00:00 2001 From: epage Date: Sat, 9 Jan 2010 16:21:45 +0000 Subject: [PATCH] Disable clearing of search on close due to unintended consequences git-svn-id: file:///svnroot/quicknote/trunk@111 bb7704e3-badb-4cfa-9ab3-9374dc87eaa2 --- src/search.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/search.py b/src/search.py index 267af2c..b924cb8 100644 --- a/src/search.py +++ b/src/search.py @@ -58,4 +58,7 @@ class Search(gtk.HBox): self._searchEntry.grab_focus() def _on_hide(self, *args): - self._searchEntry.set_text("") + # HACK Disabled for now. Clearing this resets the note list which + # causes the current note to lose focus. + # self._searchEntry.set_text("") + pass -- 1.7.9.5