fix editperson calls
svn: r6109
This commit is contained in:
parent
07288ca97f
commit
0aafe612d8
@ -228,7 +228,7 @@ class ChildEmbedList(EmbeddedList):
|
|||||||
def edit_button_clicked(self,obj):
|
def edit_button_clicked(self,obj):
|
||||||
handle = self.get_selected()
|
handle = self.get_selected()
|
||||||
if handle:
|
if handle:
|
||||||
import EditPerson
|
from _EditPerson import EditPerson
|
||||||
try:
|
try:
|
||||||
person = self.dbstate.db.get_person_from_handle(handle)
|
person = self.dbstate.db.get_person_from_handle(handle)
|
||||||
EditPerson.EditPerson(self.dbstate,self.uistate,self.track,person)
|
EditPerson.EditPerson(self.dbstate,self.uistate,self.track,person)
|
||||||
@ -480,7 +480,7 @@ class EditFamily(EditPrimary):
|
|||||||
|
|
||||||
def edit_person(self,obj,event,handle):
|
def edit_person(self,obj,event,handle):
|
||||||
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
|
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
|
||||||
import EditPerson
|
from _EditPerson import EditPerson
|
||||||
try:
|
try:
|
||||||
person = self.db.get_person_from_handle(handle)
|
person = self.db.get_person_from_handle(handle)
|
||||||
EditPerson.EditPerson(self.dbstate, self.uistate,
|
EditPerson.EditPerson(self.dbstate, self.uistate,
|
||||||
|
Loading…
Reference in New Issue
Block a user