* src/FamilyView.py (delete_family_from): Remove extra "[0]".

svn: r2608
This commit is contained in:
Alex Roitman 2004-01-08 15:39:33 +00:00
parent cac2691fb6
commit 9f357f378e
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2004-01-08 Alex Roitman <shura@alex.neuro.umn.edu>
* src/FamilyView.py (delete_family_from): Remove extra "[0]".
2004-01-07 Egyeki Gergely <egeri@elte.hu>
* src/plugins/rel_hu.py: Add to CVS.
* src/plugins/Makefile.am: Ship rel_hu.py.

View File

@ -2,7 +2,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2003 Donald N. Allingham
# Copyright (C) 2000-2004 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -862,7 +862,7 @@ class FamilyView:
self.parent.db.deleteFamily(self.family)
flist = self.person.getFamilyList()
if len(flist) > 0:
self.family = flist[0][0]
self.family = flist[0]
else:
self.family = None