* src/gramps_main.py: fix goto_active_person

svn: r3719
This commit is contained in:
Don Allingham 2004-11-10 04:34:48 +00:00
parent 1a40c6366a
commit 0167d92a16
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
2004-11-09 Don Allingham <dallingham@users.sourceforge.net> 2004-11-09 Don Allingham <dallingham@users.sourceforge.net>
* src/gramps_main.py: fix goto_active_person
* src/DateParser.py: Handle month=12 in gregorian_valid * src/DateParser.py: Handle month=12 in gregorian_valid
2004-11-09 Alex Roitman <shura@alex.neuro.umn.edu> 2004-11-09 Alex Roitman <shura@alex.neuro.umn.edu>

View File

@ -922,8 +922,8 @@ class Gramps:
home = self.db.get_default_person() home = self.db.get_default_person()
if home: if home:
self.change_active_person(home) self.change_active_person(home)
self.goto_active_person()
self.update_display(0) self.update_display(0)
self.goto_active_person()
self.full_update() self.full_update()
def full_update(self): def full_update(self):
@ -1587,16 +1587,16 @@ class Gramps:
person = self.db.get_person_from_handle(person_handle) person = self.db.get_person_from_handle(person_handle)
try: try:
self.change_active_person(person) self.change_active_person(person)
self.goto_active_person()
self.update_display(0) self.update_display(0)
self.goto_active_person()
except TypeError: except TypeError:
WarningDialog(_("Could not go to a Person"), WarningDialog(_("Could not go to a Person"),
_("Either stale bookmark or broken history " _("Either stale bookmark or broken history "
"caused by IDs reorder.")) "caused by IDs reorder."))
self.clear_history() self.clear_history()
self.change_active_person(old_person) self.change_active_person(old_person)
self.goto_active_person()
self.update_display(0) self.update_display(0)
self.goto_active_person()
def on_default_person_activate(self,obj): def on_default_person_activate(self,obj):
if self.active_person: if self.active_person: