From 80777db01766885b41786b274d98f16a4960c37b Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Tue, 29 Mar 2022 19:05:52 +0200 Subject: [PATCH] Revert "avoid unintended button reveal" This reverts commit 9b841df3e44f9a05bf6a32bd8d7cf7726b5c2cdc. --- src/mpdevil.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mpdevil.py b/src/mpdevil.py index 2b87ff6..ee3346e 100755 --- a/src/mpdevil.py +++ b/src/mpdevil.py @@ -2683,6 +2683,7 @@ class PlaylistWindow(Gtk.Overlay): # connect self._back_to_current_song_button.connect("clicked", self._on_back_to_current_song_button_clicked) scroll.get_vadjustment().connect("value-changed", self._on_show_hide_back_button) + self._treeview.connect("notify::selected-path", self._on_show_hide_back_button) settings.bind("mini-player", self, "no-show-all", Gio.SettingsBindFlags.GET) settings.bind("mini-player", self, "visible", Gio.SettingsBindFlags.INVERT_BOOLEAN|Gio.SettingsBindFlags.GET)