Fix Media Preview Gramplet for closed db

Fixes #10332
This commit is contained in:
prculley 2017-12-26 10:48:39 -06:00 committed by Nick Hall
parent c93f2dd433
commit eeb587e85e

View File

@ -77,6 +77,7 @@ class MediaPreview(Gramplet):
self.set_has_data(False)
self.top.show()
else:
self.photo.set_image(None)
self.set_has_data(False)
def load_image(self, media):