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 5490ff0b84
commit ec44396680

View File

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