Disable clearing of search on close due to unintended consequences
authorepage <eopage@byu.net>
Sat, 9 Jan 2010 16:21:45 +0000 (16:21 +0000)
committerepage <eopage@byu.net>
Sat, 9 Jan 2010 16:21:45 +0000 (16:21 +0000)
git-svn-id: file:///svnroot/quicknote/trunk@111 bb7704e3-badb-4cfa-9ab3-9374dc87eaa2

src/search.py

index 267af2c..b924cb8 100644 (file)
@@ -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