From eeb587e85e2059cbc07ab8edac922d650456de3f Mon Sep 17 00:00:00 2001 From: prculley Date: Tue, 26 Dec 2017 10:48:39 -0600 Subject: [PATCH] Fix Media Preview Gramplet for closed db Fixes #10332 --- gramps/plugins/gramplet/mediapreview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gramps/plugins/gramplet/mediapreview.py b/gramps/plugins/gramplet/mediapreview.py index 43ead8652..47f216b59 100644 --- a/gramps/plugins/gramplet/mediapreview.py +++ b/gramps/plugins/gramplet/mediapreview.py @@ -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):