From ccbab78fbc8dedbce8aeb56a921bf3131d074005 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 10 May 2015 22:42:30 -0400 Subject: [PATCH] Allow database-changed signal to work with more general databases --- gramps/gen/dbstate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gen/dbstate.py b/gramps/gen/dbstate.py index 44cd662e2..839d05cd2 100644 --- a/gramps/gen/dbstate.py +++ b/gramps/gen/dbstate.py @@ -24,6 +24,7 @@ Provide the database state class """ from .db import DbBsddbRead +from .db import DbReadBase from .proxy.proxybase import ProxyDbBase from .utils.callback import Callback from .config import config @@ -34,7 +35,7 @@ class DbState(Callback): """ __signals__ = { - 'database-changed' : ((DbBsddbRead, ProxyDbBase), ), + 'database-changed' : ((DbReadBase, ProxyDbBase), ), 'no-database' : None, }