mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
minor fixes
This commit is contained in:
parent
49b277d38f
commit
af25d49119
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user