Revert "avoid unintended button reveal"

This reverts commit 9b841df3e4.
This commit is contained in:
Martin Wagner 2022-03-29 19:05:52 +02:00
parent c148b2c678
commit 80777db017

View File

@ -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)