summaryrefslogtreecommitdiff
path: root/gnomemusic
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2020-08-30 14:55:35 +0100
committerSimon McVittie <smcv@debian.org>2020-08-30 14:55:35 +0100
commit53af09494d1c7b1dca4d98662380383bf84ad7a7 (patch)
tree8bec1bc80511856925ce0f7ab8f09b1830211099 /gnomemusic
parent096dd1fadd1bf8b0ee1c7eb4a15f6310e97a851c (diff)
parent426243053fa10b95b188a4905f23371def048a63 (diff)
New upstream version 3.36.4.1
Diffstat (limited to 'gnomemusic')
-rw-r--r--gnomemusic/window.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 3b56bfb1..939855cb 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -258,7 +258,7 @@ class Window(Gtk.ApplicationWindow):
# All views are created together, so if the album view is
# already initialized, assume the rest are as well.
- if self.views[View.ALBUM] is not None:
+ if not isinstance(self.views[View.ALBUM], Gtk.Box):
return
self.views[View.ALBUM] = AlbumsView(self._app)