Crash when selecting an old note, event, media, ...
Try to sort on another column. Fixes #10519
This commit is contained in:
parent
cb0bd32aa3
commit
29735eef7d
@ -318,12 +318,6 @@ class BaseSelector(ManagedWindow):
|
|||||||
self.model.reverse_order()
|
self.model.reverse_order()
|
||||||
self.build_tree()
|
self.build_tree()
|
||||||
|
|
||||||
handle = self.first_selected()
|
|
||||||
if handle:
|
|
||||||
path = self.model.on_get_path(handle)
|
|
||||||
self.selection.select_path(path)
|
|
||||||
self.tree.scroll_to_cell(path, None, 1, 0.5, 0)
|
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def show_toggle(self, obj):
|
def show_toggle(self, obj):
|
||||||
|
Loading…
Reference in New Issue
Block a user