summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--portato/gui/windows/main.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index cad0015..bdcb3c6 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -1620,8 +1620,8 @@ class MainWindow (Window):
if txt or self.db.restrict:
self.db.restrict = txt
- self.refresh_stores()
- self.catList.get_selection().select_path("0") # XXX make this smarter
+ self.refresh_stores()
+ self.catList.get_selection().select_path("0") # XXX make this smarter
return False # not again ;)
@@ -1632,6 +1632,7 @@ class MainWindow (Window):
active = self.typeCombo.get_active()
self.db.type = model[active][0]
+ self.cb_search_changed()
def cb_delete_search_clicked (self, *args):
self.searchEntry.set_text("")