From 8f8ff627dec7b15b646609544a163f91a9575872 Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Fri, 3 Apr 2020 18:48:17 +0200 Subject: [PATCH] fixed error in 'Browser' --- bin/mpdevil.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mpdevil.py b/bin/mpdevil.py index 7779889..79bea2a 100644 --- a/bin/mpdevil.py +++ b/bin/mpdevil.py @@ -1810,7 +1810,8 @@ class Browser(Gtk.Box): path=Gtk.TreePath(i) if self.artist_view.store[path][0] == artist: 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 else: self.artist_view.treeview.set_cursor(Gtk.TreePath(0), None, False) #set cursor to 'all artists'