2006-12-18 Don Allingham <don@gramps-project.org>

* src/plugins/Desbrowser.py (DesBrowse.button_press_event): fix typo 
	(from bmcage)



svn: r7815
This commit is contained in:
Don Allingham 2006-12-18 22:25:19 +00:00
parent 30220dc092
commit e1325eda76
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-12-18 Don Allingham <don@gramps-project.org>
* src/plugins/Desbrowser.py (DesBrowse.button_press_event): fix typo
(from bmcage)
2006-12-16 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: proper handling of unknown source tags (bug #654)

View File

@ -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,