summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/windows.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 05b9359..02785ed 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -1682,6 +1682,8 @@ class MainWindow (Window):
self.db.restrict = txt
self.refresh_stores()
+ self.catList.get_selection().select_path("0") # XXX make this smarter
+
return True
def cb_preferences_clicked (self, *args):