sidebar: Don't change displayed playlist to None
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
parent
beca08b833
commit
b768d74928
|
@ -29,6 +29,7 @@ class Panel(Gtk.Box):
|
||||||
|
|
||||||
def get_playlist(self): return self.window.get_playlist()
|
def get_playlist(self): return self.window.get_playlist()
|
||||||
def set_playlist(self, plist):
|
def set_playlist(self, plist):
|
||||||
|
if plist:
|
||||||
self.header.set_playlist(plist)
|
self.header.set_playlist(plist)
|
||||||
self.window.set_playlist(plist)
|
self.window.set_playlist(plist)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue