Fix of issue 3213.

svn: r13196
This commit is contained in:
Peter Landgren 2009-09-12 10:00:17 +00:00
parent 8b2259b86d
commit 34442f5853

View File

@ -548,12 +548,12 @@ class GuiFamilyOption(gtk.HBox):
person = self.__db.get_default_person() person = self.__db.get_default_person()
if person: if person:
family_list = person.get_family_handle_list() family_list = person.get_family_handle_list()
if not family_list: if not family_list:
# Finally, take any family you can find. # Finally, take any family you can find.
for family in self.__db.iter_family_handles(): for family in self.__db.iter_family_handles():
self.__update_family(family)
break break
self.__update_family(family)
def __get_family_clicked(self, obj): # IGNORE:W0613 - obj is unused def __get_family_clicked(self, obj): # IGNORE:W0613 - obj is unused
""" """