dbstate.active fixes

svn: r6255
This commit is contained in:
Don Allingham
2006-04-02 04:15:11 +00:00
parent 9653c3e6de
commit ae2486081d
10 changed files with 27 additions and 53 deletions

View File

@@ -2048,6 +2048,7 @@ class DbState(GrampsDBCallback):
self.change_active_person(self.db.get_person_from_handle(handle))
def get_active_person(self):
self.active = self.db.get_person_from_handle(self.active.handle)
return self.active
def change_database(self,db):