This commit is contained in:
Kovid Goyal 2023-05-01 06:21:48 +05:30
commit fae3fe3808
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -183,6 +183,7 @@ class SortByAction(InterfaceAction):
if not i.isSelected():
hidden.append(i.data(Qt.ItemDataRole.UserRole))
db.new_api.set_pref(SORT_HIDDEN_PREF, tuple(hidden))
self.update_menu()
def named_sort_selected(self, sort_spec):
self.gui.library_view.multisort(sort_spec)