* src/FamilyView.py (delete_family_from): Remove extra "[0]".
svn: r2608
This commit is contained in:
parent
cac2691fb6
commit
9f357f378e
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user