mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
allow resetting of sort order in SearchWindow
This commit is contained in:
parent
bf91ef8258
commit
42dfb884af
@ -1624,6 +1624,7 @@ class SearchWindow(Gtk.Box):
|
||||
# store
|
||||
# (track, title, artist, album, duration, file, sort track)
|
||||
self._store=Gtk.ListStore(str, str, str, str, str, str, int)
|
||||
self._store.set_default_sort_func(lambda *args: 0)
|
||||
|
||||
# songs window
|
||||
self._songs_window=SongsWindow(self._client, self._store, 5)
|
||||
|
Loading…
Reference in New Issue
Block a user