diff --git a/gramps2/src/AddSpouse.py b/gramps2/src/AddSpouse.py index 174c280cb..a4c086166 100644 --- a/gramps2/src/AddSpouse.py +++ b/gramps2/src/AddSpouse.py @@ -151,6 +151,7 @@ class AddSpouse: """ self.addperson(person) self.update_data(person.getId()) + self.slist.center_selected() def select_spouse_clicked(self,obj): """ diff --git a/gramps2/src/ChooseParents.py b/gramps2/src/ChooseParents.py index 941aba7bf..d358fa208 100644 --- a/gramps2/src/ChooseParents.py +++ b/gramps2/src/ChooseParents.py @@ -414,8 +414,10 @@ class ChooseParents: self.parent_relation_changed(self.prel) elif person.getGender() == RelLib.Person.male: self.fmodel.add(rdata,None,1) + self.fmodel.center_selected() else: self.mmodel.add(rdata,None,1) + self.mmodel.center_selected() self.full_update() def add_parent_clicked(self,obj):