src/EditSource.py: fixed small mistake in display_references

svn: r5601
This commit is contained in:
Richard Taylor 2005-12-21 16:57:11 +00:00
parent 939da0c152
commit 97cbb53f91
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2005-12-21 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/EditSource.py: fixed small mistake in display_references
2005-12-21 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/EditSource.py: changed display_references to use find_backlink_handles

View File

@ -512,7 +512,7 @@ class EditSource:
self.model.add([_("Person"),gramps_id,name],(0,handle))
elif cls_name == 'Event':
event = self.db.get_event_from_handle()
event = self.db.get_event_from_handle(handle)
name = event.get_name()
gramps_id = event.get_gramps_id()
self.model.add([_("Event"),gramps_id,name],(2,handle))