6260: Media select with context: typo in editperson

svn: r20925
This commit is contained in:
Doug Blank 2013-01-01 14:21:46 +00:00
parent c4b7cda610
commit e197ebe0d6

View File

@ -610,7 +610,7 @@ class EditPerson(EditPrimary):
menu.set_title(_("Media Object"))
obj = self.db.get_object_from_handle(photo.get_reference_handle())
if obj:
gui.utilsadd_menuitem(menu, _("View"), photo,
gui.utils.add_menuitem(menu, _("View"), photo,
self._popup_view_photo)
gui.utils.add_menuitem(menu, _("Edit Object Properties"), photo,
self._popup_change_description)