summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/taskexp.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/ui/taskexp.py')
-rw-r--r--lib/bb/ui/taskexp.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/ui/taskexp.py b/lib/bb/ui/taskexp.py
index 0d0f9f5a40..0e8e9d4cf8 100644
--- a/lib/bb/ui/taskexp.py
+++ b/lib/bb/ui/taskexp.py
@@ -63,7 +63,9 @@ class PackageReverseDepView(Gtk.TreeView):
self.current = None
self.filter_model = model.filter_new()
self.filter_model.set_visible_func(self._filter)
- self.set_model(self.filter_model)
+ self.sort_model = self.filter_model.sort_new_with_model()
+ self.sort_model.set_sort_column_id(COL_DEP_PARENT, Gtk.SortType.ASCENDING)
+ self.set_model(self.sort_model)
self.append_column(Gtk.TreeViewColumn(label, Gtk.CellRendererText(), text=COL_DEP_PARENT))
def _filter(self, model, iter, data):