mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed error in 'Browser'
This commit is contained in:
parent
6b572a6723
commit
8f8ff627de
@ -1810,7 +1810,8 @@ class Browser(Gtk.Box):
|
|||||||
path=Gtk.TreePath(i)
|
path=Gtk.TreePath(i)
|
||||||
if self.artist_view.store[path][0] == artist:
|
if self.artist_view.store[path][0] == artist:
|
||||||
self.artist_view.treeview.set_cursor(path, None, False)
|
self.artist_view.treeview.set_cursor(path, None, False)
|
||||||
self.artist_view.treeview.row_activated(path, self.artist_view.column_name)
|
if not self.artist_view.get_selected_artists() == [artist]:
|
||||||
|
self.artist_view.treeview.row_activated(path, self.artist_view.column_name)
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
self.artist_view.treeview.set_cursor(Gtk.TreePath(0), None, False) #set cursor to 'all artists'
|
self.artist_view.treeview.set_cursor(Gtk.TreePath(0), None, False) #set cursor to 'all artists'
|
||||||
|
Loading…
Reference in New Issue
Block a user