MCGGtk: idle_player_callback checks album
This commit is contained in:
parent
f6d0b280d3
commit
b218c93bd4
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@ class MCGGtk(Gtk.Window):
|
|||
|
||||
|
||||
def idle_player_callback(self, state, album):
|
||||
GObject.idle_add(self._cover_panel.set_album, album.get_cover())
|
||||
if album:
|
||||
GObject.idle_add(self._cover_panel.set_album, album.get_cover())
|
||||
|
||||
|
||||
def play_callback(self, album):
|
||||
|
|
Loading…
Reference in a new issue