From fa41eaf6a37a45eaadbba317ec03f44e309979b6 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Sat, 11 May 2013 12:07:18 +0000 Subject: [PATCH] 6716: Add extra surname, on tab away from field, value is not stored svn: r22254 --- gramps/gui/editors/displaytabs/surnametab.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gui/editors/displaytabs/surnametab.py b/gramps/gui/editors/displaytabs/surnametab.py index acb29d6af..166d7bac0 100644 --- a/gramps/gui/editors/displaytabs/surnametab.py +++ b/gramps/gui/editors/displaytabs/surnametab.py @@ -346,6 +346,7 @@ class SurnameTab(EmbeddedList): path = self.model.get_path(node).get_indices()[0] nccol = self.curr_col+1 if nccol < 4: + self.curr_celle.editing_done() self.tree.set_cursor_on_cell(Gtk.TreePath((path,)), focus_column=self.columns[nccol], focus_cell=None, @@ -354,6 +355,7 @@ class SurnameTab(EmbeddedList): #go to next line if there is one if path < len(self.obj.get_surname_list()): newpath = Gtk.TreePath((path+1,)) + self.curr_celle.editing_done() self.selection.select_path(newpath) self.tree.set_cursor_on_cell(newpath, focus_column=self.columns[0],