Fix crash sorting on columns in Selectors with TreeModels (#1099)

Fixes #11750
This commit is contained in:
Paul Culley 2020-09-14 11:04:12 -05:00 committed by GitHub
parent 3f9f3215ee
commit 198602be61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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