5112: Fix error when moving empty surname row
svn: r18101
This commit is contained in:
parent
5f629d221e
commit
33d8ac0fa0
@ -211,6 +211,7 @@ class SurnameTab(EmbeddedList):
|
||||
focus_column=self.columns[0],
|
||||
focus_cell=None,
|
||||
start_editing=True)
|
||||
self.update()
|
||||
|
||||
def del_button_clicked(self, obj):
|
||||
"""
|
||||
|
@ -204,11 +204,11 @@ class EditPerson(EditPrimary):
|
||||
self.load_person_image()
|
||||
self.given.grab_focus()
|
||||
self._changed_name(None)
|
||||
self.top.get_object("hboxmultsurnames").pack_start(self.surntab)
|
||||
|
||||
if len(self.obj.get_primary_name().get_surname_list()) > 1:
|
||||
self.multsurnfr.set_size_request(-1,
|
||||
int(config.get('interface.surname-box-height')))
|
||||
self.top.get_object("hboxmultsurnames").pack_start(self.surntab)
|
||||
self.singsurnfr.hide_all()
|
||||
self.multsurnfr.show_all()
|
||||
self.singlesurn_active = False
|
||||
|
Loading…
Reference in New Issue
Block a user