From 0770e56d954f296d38c5f4f1e35846ff86da2f28 Mon Sep 17 00:00:00 2001
From: Jason Zedlitz <zedlitz@users.sourceforge.net>
Date: Thu, 20 Sep 2001 07:13:23 +0000
Subject: [PATCH] a new entered person will become active in the person list

svn: r417
---
 gramps/src/gramps_main.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gramps/src/gramps_main.py b/gramps/src/gramps_main.py
index 093ddc0e4..548709b02 100755
--- a/gramps/src/gramps_main.py
+++ b/gramps/src/gramps_main.py
@@ -1466,7 +1466,9 @@ def on_edit_father_clicked(obj):
 #
 #-------------------------------------------------------------------------
 def load_new_person(obj):
-    EditPerson.EditPerson(Person(),database,new_after_edit)
+    global active_person
+    active_person = Person()
+    EditPerson.EditPerson(active_person,database,new_after_edit)
 
 #-------------------------------------------------------------------------
 #