From ab6933478d1e105dea4a692baa1989ceaeba772b Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 8 May 2002 02:24:16 +0000 Subject: [PATCH] Select a newly added person in the AddSpouse dialog svn: r978 --- gramps/src/AddSpouse.py | 3 +++ gramps/src/const.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps/src/AddSpouse.py b/gramps/src/AddSpouse.py index b0a10c927..f46b12f30 100644 --- a/gramps/src/AddSpouse.py +++ b/gramps/src/AddSpouse.py @@ -131,6 +131,9 @@ class AddSpouse: self.name_list.sort(sort.by_last_name) self.addperson(person) 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): """ diff --git a/gramps/src/const.py b/gramps/src/const.py index b39119ec5..d4f933027 100644 --- a/gramps/src/const.py +++ b/gramps/src/const.py @@ -92,7 +92,7 @@ startup = 1 # #------------------------------------------------------------------------- progName = "GRAMPS" -version = "0.7.3" +version = "0.8.0-pre" copyright = "© 2001-2002 Donald N. Allingham" authors = ["Donald N. Allingham", "David Hampton","Donald A. Peterson"] comments = _("GRAMPS (Genealogical Research and Analysis "