diff options
Diffstat (limited to 'portato/gui/gtk')
-rw-r--r-- | portato/gui/gtk/windows.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py index e06a7b4..c7dc79b 100644 --- a/portato/gui/gtk/windows.py +++ b/portato/gui/gtk/windows.py @@ -1667,17 +1667,7 @@ class MainWindow (Window): if txt or self.db.restrict: self.db.restrict = txt - store = self.catList.get_model() - store.clear() - self.fill_cat_store(store) - - store = self.pkgList.get_model() - store.clear() - try: - self.fill_pkg_store(store, self.selCatName) - except AttributeError: # no selCatName -> so no category selected --> ignore - debug("No category selected --> should be no harm.") - + self.refresh_stores() return True def cb_preferences_clicked (self, *args): |