* src/EditPerson.py: Removed the conflict of using pmap for two seperate
purposes - mapping places to iterators and places to keys. The place to key map is now pdmap * src/EditPlace.py: Handle drag and drop with places * src/EditPerson.py: Handle exchange of perferred name and selected name in the alternate name list svn: r1723
This commit is contained in:
@@ -1521,10 +1521,10 @@ class EditPerson:
|
||||
self.draw_lds()
|
||||
|
||||
def change_name(self,obj):
|
||||
if self.name_list.selection:
|
||||
sel_objs = self.ntree.get_selected_objects()
|
||||
if sel_objs:
|
||||
old = self.pname
|
||||
row = self.name_list.selection[0]
|
||||
new = self.name_list.get_row_data(row)
|
||||
new = sel_objs[0]
|
||||
self.nlist.remove(new)
|
||||
self.nlist.append(old)
|
||||
self.redraw_name_list()
|
||||
|
Reference in New Issue
Block a user