2004-08-19 Tim Waugh <twaugh@redhat.com>

* src/gramps_main.py (import_tool_callback): Set home person.


svn: r3438
This commit is contained in:
Tim Waugh 2004-08-19 16:35:07 +00:00
parent c25812de5d
commit 27eaa233ab
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2004-08-19 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (import_tool_callback): Set home person.
2004-08-19 Don Allingham <dallingham@users.sourceforge.net> 2004-08-19 Don Allingham <dallingham@users.sourceforge.net>
* src/ChooseParents.py: use get_family_from_handle instead * src/ChooseParents.py: use get_family_from_handle instead
of find_family_from_handle of find_family_from_handle

View File

@ -930,6 +930,10 @@ class Gramps:
self.import_tool_callback() self.import_tool_callback()
def import_tool_callback(self): def import_tool_callback(self):
home = self.db.get_default_person()
if home:
self.change_active_person(home)
self.update_display(0)
self.full_update() self.full_update()
def full_update(self): def full_update(self):