Crash when selecting an old note, event, media, ...

Try to sort on another column.

Fixes #10519
This commit is contained in:
SNoiraud 2018-03-28 09:56:33 +02:00 committed by Nick Hall
parent cb0bd32aa3
commit 29735eef7d

View File

@ -318,12 +318,6 @@ class BaseSelector(ManagedWindow):
self.model.reverse_order()
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
def show_toggle(self, obj):