Select a newly added person in the AddSpouse dialog

svn: r978
This commit is contained in:
Don Allingham 2002-05-08 02:24:16 +00:00
parent 1eee54c8a2
commit ab6933478d
2 changed files with 4 additions and 1 deletions

View File

@ -131,6 +131,9 @@ class AddSpouse:
self.name_list.sort(sort.by_last_name) self.name_list.sort(sort.by_last_name)
self.addperson(person) self.addperson(person)
self.relation_type_changed(self.relation_type) self.relation_type_changed(self.relation_type)
row = self.spouse_list.find_row_from_data(person)
self.spouse_list.select_row(row,0)
self.spouse_list.moveto(row,0)
def select_spouse_clicked(self,obj): def select_spouse_clicked(self,obj):
""" """

View File

@ -92,7 +92,7 @@ startup = 1
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
progName = "GRAMPS" progName = "GRAMPS"
version = "0.7.3" version = "0.8.0-pre"
copyright = "© 2001-2002 Donald N. Allingham" copyright = "© 2001-2002 Donald N. Allingham"
authors = ["Donald N. Allingham", "David Hampton","Donald A. Peterson"] authors = ["Donald N. Allingham", "David Hampton","Donald A. Peterson"]
comments = _("GRAMPS (Genealogical Research and Analysis " comments = _("GRAMPS (Genealogical Research and Analysis "