From d920e3479a2fdaa3d39e0826e7dc9b6f7a3523fa Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 28 Oct 2009 01:16:21 +0000 Subject: [PATCH] Looks like this is needed svn: r13435 --- src/PluginUtils/_GuiOptions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/PluginUtils/_GuiOptions.py b/src/PluginUtils/_GuiOptions.py index 73fe47106..08454ea5a 100644 --- a/src/PluginUtils/_GuiOptions.py +++ b/src/PluginUtils/_GuiOptions.py @@ -593,11 +593,12 @@ class GuiFamilyOption(gtk.HBox): family = sel.run() self.__update_family(family) - def __update_family(self, family): + def __update_family(self, handle): """ Update the currently selected family. """ - if family: + if handle: + family = self.__dbstate.db.get_family_from_handle(handle) family_id = family.get_gramps_id() fhandle = family.get_father_handle() mhandle = family.get_mother_handle()