enabled search in playlist

This commit is contained in:
Martin Wagner 2020-11-16 18:22:23 +01:00
parent 52de223b0f
commit 2cd18d931f

View File

@ -2626,7 +2626,7 @@ class PlaylistWindow(Gtk.Box):
# treeview
# (track, disc, title, artist, album, duration, date, genre, file, weight)
self._store=Gtk.ListStore(str, str, str, str, str, str, str, str, str, Pango.Weight)
self._treeview=Gtk.TreeView(model=self._store, activate_on_single_click=True, reorderable=True, search_column=-1)
self._treeview=Gtk.TreeView(model=self._store, activate_on_single_click=True, reorderable=True, search_column=2)
self._selection=self._treeview.get_selection()
# columns