Fix crash sorting on columns in Selectors with TreeModels (#1099)
Fixes #11750
This commit is contained in:
parent
3f9f3215ee
commit
198602be61
@ -325,7 +325,6 @@ class BaseSelector(ManagedWindow):
|
|||||||
self.sortorder = Gtk.SortType.ASCENDING
|
self.sortorder = Gtk.SortType.ASCENDING
|
||||||
else:
|
else:
|
||||||
self.sortorder = Gtk.SortType.DESCENDING
|
self.sortorder = Gtk.SortType.DESCENDING
|
||||||
self.model.reverse_order()
|
|
||||||
self.build_tree()
|
self.build_tree()
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user