4442: Add a Button to close the current database; refresh gramplets when no db
This commit is contained in:
parent
efe5323e1a
commit
c3874bdaed
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user