* src/DataViews/_PedigreeView.py: work around bug in database-changed signals
svn: r6681
This commit is contained in:
parent
620cae798d
commit
52c4d7e365
@ -1,5 +1,6 @@
|
||||
2006-05-16 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/DataViews/_PedigreeView.py: Add navigation-arrows to the tree
|
||||
* src/DataViews/_PedigreeView.py: Add navigation-arrows to the tree;
|
||||
work around bug in database-changed signals
|
||||
|
||||
2006-05-15 Alex Roitman <shura@gramps-project.org>
|
||||
* src/GrampsDb/_GrampsXMLDB.py: Use callback, call parent's
|
||||
|
@ -605,6 +605,10 @@ class PedigreeView(PageView.PersonNavView):
|
||||
self.notebook.set_current_page(self.force_size-2)
|
||||
|
||||
def rebuild_trees(self,person_handle):
|
||||
if self.db != self.dbstate.db:
|
||||
print "UNRECOGNIZED DATABASES CHANGE DETECTED! TODO: Fix signals"
|
||||
self.change_db(self.dbstate.db)
|
||||
return
|
||||
person = None
|
||||
if person_handle:
|
||||
person = self.dbstate.db.get_person_from_handle( person_handle)
|
||||
|
Loading…
Reference in New Issue
Block a user