fix editperson calls

svn: r6109
This commit is contained in:
Don Allingham 2006-03-09 03:53:09 +00:00
parent b6a023b6a1
commit 97f5dd03d1

View File

@ -228,7 +228,7 @@ class ChildEmbedList(EmbeddedList):
def edit_button_clicked(self,obj):
handle = self.get_selected()
if handle:
import EditPerson
from _EditPerson import EditPerson
try:
person = self.dbstate.db.get_person_from_handle(handle)
EditPerson.EditPerson(self.dbstate,self.uistate,self.track,person)
@ -480,7 +480,7 @@ class EditFamily(EditPrimary):
def edit_person(self,obj,event,handle):
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
import EditPerson
from _EditPerson import EditPerson
try:
person = self.db.get_person_from_handle(handle)
EditPerson.EditPerson(self.dbstate, self.uistate,