expand/collapse group on double click
parent
92ff6cceba
commit
e944cc2a2b
|
@ -368,6 +368,11 @@ class Browser(Gtk.Box):
|
|||
pkg = self.config(self.app_store[path][PACKAGE])
|
||||
if pkg:
|
||||
self.set_detail_box(pkg["name"])
|
||||
else:
|
||||
if treeview.row_expanded(path):
|
||||
treeview.collapse_row(path)
|
||||
else:
|
||||
treeview.expand_to_path(path)
|
||||
|
||||
def on_reload_clicked(self, widget):
|
||||
self.reload_app_data()
|
||||
|
|
Loading…
Reference in New Issue