From e3899f9cc9f24b44233221ceb4d02dfcdbb14132 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Mon, 18 Dec 2006 22:25:19 +0000 Subject: [PATCH] 2006-12-18 Don Allingham * src/plugins/Desbrowser.py (DesBrowse.button_press_event): fix typo (from bmcage) svn: r7815 --- gramps2/ChangeLog | 5 +++++ gramps2/src/plugins/Desbrowser.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 826367e4a..952759c89 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,8 @@ +2006-12-18 Don Allingham + + * src/plugins/Desbrowser.py (DesBrowse.button_press_event): fix typo + (from bmcage) + 2006-12-16 Don Allingham * src/GrampsDb/_ReadGedcom.py: proper handling of unknown source tags (bug #654) diff --git a/gramps2/src/plugins/Desbrowser.py b/gramps2/src/plugins/Desbrowser.py index 56fff174d..fafce663f 100644 --- a/gramps2/src/plugins/Desbrowser.py +++ b/gramps2/src/plugins/Desbrowser.py @@ -123,7 +123,7 @@ class DesBrowse(Tool.ActivePersonTool, ManagedWindow.ManagedWindow): if event.type == gtk.gdk._2BUTTON_PRESS and event.button == 1: store, node = self.tree.get_selection().get_selected() - if iter: + if node: person_handle = store.get_value(node, 1) person = self.db.get_person_from_handle(person_handle) EditPerson(self.dbstate, self.uistate, self.track, person,