Allow database-changed signal to work with more general databases
This commit is contained in:
parent
306ede4e8e
commit
ccbab78fbc
@ -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,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user