5472: Update gramplets when database changed so that they correctly show if they have data. Also remove superfluous updates.
svn: r18679
This commit is contained in:
@ -97,7 +97,6 @@ class PersonEvents(Events):
|
||||
"""
|
||||
def db_changed(self):
|
||||
self.dbstate.db.connect('person-update', self.update)
|
||||
self.update()
|
||||
|
||||
def active_changed(self, handle):
|
||||
self.update()
|
||||
@ -155,7 +154,6 @@ class FamilyEvents(Events):
|
||||
def db_changed(self):
|
||||
self.dbstate.db.connect('family-update', self.update)
|
||||
self.connect_signal('Family', self.update)
|
||||
self.update()
|
||||
|
||||
def update_has_data(self):
|
||||
active_handle = self.get_active('Family')
|
||||
|
Reference in New Issue
Block a user