bring player in defined state before displaying

This commit is contained in:
Martin Wagner 2020-10-11 11:28:19 +02:00
parent f7331489d5
commit 8d30d8c628

View File

@ -3598,6 +3598,7 @@ class MainWindow(Gtk.ApplicationWindow):
self.add(overlay) self.add(overlay)
self._client.emitter.emit("disconnected") # bring player in defined state
self.show_all() self.show_all()
def callback(*args): def callback(*args):
if self._settings.get_boolean("maximize"): if self._settings.get_boolean("maximize"):