fixed bug in SongsView

This commit is contained in:
Martin Wagner 2020-06-14 22:25:40 +02:00
parent 8a46bab4da
commit 8ab8e7aa29

View File

@ -974,7 +974,7 @@ class SongsView(Gtk.TreeView):
self.key_press_event=self.connect("key-press-event", self.on_key_press_event)
def on_row_activated(self, widget, path, view_column):
self.client.files_to_playlist([self.store[path][5]], False, True)
self.client.files_to_playlist([self.store[path][self.file_column_id]], False, True)
def on_button_press_event(self, widget, event):
if event.button == 1 and event.type == Gdk.EventType.BUTTON_PRESS: