From 27eaa233ab127c1935f73caab4545688c4a1969b Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 19 Aug 2004 16:35:07 +0000 Subject: [PATCH] 2004-08-19 Tim Waugh * src/gramps_main.py (import_tool_callback): Set home person. svn: r3438 --- gramps2/ChangeLog | 3 +++ gramps2/src/gramps_main.py | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 04849e714..03a338794 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2004-08-19 Tim Waugh + * src/gramps_main.py (import_tool_callback): Set home person. + 2004-08-19 Don Allingham * src/ChooseParents.py: use get_family_from_handle instead of find_family_from_handle diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index b8af71db5..41307036a 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -930,6 +930,10 @@ class Gramps: self.import_tool_callback() 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() def full_update(self):