Select a newly added person in the AddSpouse dialog
svn: r978
This commit is contained in:
parent
1eee54c8a2
commit
ab6933478d
@ -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):
|
||||||
"""
|
"""
|
||||||
|
@ -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 "
|
||||||
|
Loading…
Reference in New Issue
Block a user