Added workaround to allow EditPerson window to be smaller than 500 px

svn: r16206
This commit is contained in:
Doug Blank 2010-11-18 12:38:38 +00:00
parent 2b5c8814bd
commit 938498cb37

View File

@ -128,6 +128,10 @@ class EditPerson(EditPrimary):
EditPrimary.__init__(self, dbstate, uistate, track, person, EditPrimary.__init__(self, dbstate, uistate, track, person,
dbstate.db.get_person_from_handle, dbstate.db.get_person_from_handle,
dbstate.db.get_person_from_gramps_id, callback) dbstate.db.get_person_from_gramps_id, callback)
# I don't know why this is necessary for EditPerson and no
# others, but without it, the height won't get smaller than a
# certain size:
self._set_size()
def empty_object(self): def empty_object(self):
""" """