fixed wrong window title

This commit is contained in:
Martin Wagner 2020-02-10 10:34:27 +01:00
parent 79b828511b
commit cfe6733636

View File

@ -1810,6 +1810,7 @@ class MainWindow(Gtk.ApplicationWindow):
app.send_notification(None, notify) app.send_notification(None, notify)
self.songid_playing=songid self.songid_playing=songid
except: except:
self.songid_playing=None
self.set_title("mpdevil") self.set_title("mpdevil")
else: else:
self.set_title("mpdevil (not connected)") self.set_title("mpdevil (not connected)")