minor fixes

This commit is contained in:
Martin Wagner 2020-02-01 15:37:13 +01:00
parent 49b277d38f
commit af25d49119

View File

@ -284,7 +284,6 @@ class ArtistView(Gtk.ScrolledWindow):
#TreeView
self.treeview = Gtk.TreeView(model=self.store)
self.treeview.set_search_column(-1)
self.treeview.set_rubber_banding(True)
#artistSelection
self.selection = self.treeview.get_selection()
@ -677,6 +676,8 @@ class TrackView(Gtk.Box):
self.treeview.handler_unblock(self.key_press_event)
def on_move_event(self, widget, event):
treeiter=self.selection.get_selected()[1]
if not treeiter == None:
self.treeview.grab_focus()
return_tuple = self.treeview.get_path_at_pos(int(event.x), int(event.y))
if not return_tuple == None: