Fix for: 1277: database corroption on delete outside of DisplayTabs while tab open
Introduces the concept of callman.py as one single way to follow handles an interface is interested in. dbguielement.py contains a small base class using that, usable for all windows/ guielements that need to track database changes to handles svn: r12881
This commit is contained in:
@@ -417,6 +417,10 @@ class GrampsDbBase(Callback):
|
||||
"""
|
||||
Notify clients that the data has changed significantly, and that all
|
||||
internal data dependent on the database should be rebuilt.
|
||||
Note that all rebuild signals on all objects are emitted at the same
|
||||
time. It is correct to assume that this is always the case.
|
||||
TODO: it might be better to replace these rebuild signals by one single
|
||||
database-rebuild signal.
|
||||
"""
|
||||
self.emit('person-rebuild')
|
||||
self.emit('family-rebuild')
|
||||
|
Reference in New Issue
Block a user