From c3874bdaed6b37e5ff5d72a02cf34bc961599554 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 3 May 2016 20:31:20 -0400 Subject: [PATCH] 4442: Add a Button to close the current database; refresh gramplets when no db --- gramps/gen/plug/_gramplet.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gramps/gen/plug/_gramplet.py b/gramps/gen/plug/_gramplet.py index 55ed92845..ffef51c60 100644 --- a/gramps/gen/plug/_gramplet.py +++ b/gramps/gen/plug/_gramplet.py @@ -290,9 +290,7 @@ class Gramplet(object): The main interface for running the :meth:`main` method. """ from gi.repository import GObject, GLib - if ((not self.active or - self.gui.gstate in ["closed", "minimized"] or - not self.dbstate.open) and + if ((not self.active) and not self.gui.force_update): self.dirty = True if self.dbstate.open: