From f24e29998dda7c631f6d527094969852d5442c40 Mon Sep 17 00:00:00 2001 From: Mattkmmr <49940207+Mattkmmr@users.noreply.github.com> Date: Fri, 14 Jun 2019 02:55:13 +0200 Subject: [PATCH] Fix metadataviewer.py (#823) Fix so that metadata is actually detected and displayed (signal was not getting detected). --- gramps/plugins/gramplet/metadataviewer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/plugins/gramplet/metadataviewer.py b/gramps/plugins/gramplet/metadataviewer.py index e107878e6..3a1dd9aa9 100644 --- a/gramps/plugins/gramplet/metadataviewer.py +++ b/gramps/plugins/gramplet/metadataviewer.py @@ -41,6 +41,8 @@ class MetadataViewer(Gramplet): self.gui.get_container_widget().remove(self.gui.textview) self.gui.get_container_widget().add(self.gui.WIDGET) self.gui.WIDGET.show() + + def db_changed(self): self.connect_signal('Media', self.update) def build_gui(self):