EditLink: When creating a link, prefer linking persons over places, events, ..., and images.

This commit is contained in:
Sven Wehner 2020-05-17 18:10:58 +02:00 committed by Paul Culley
parent 9f97c34a90
commit 6f18918b9c

View File

@ -903,6 +903,7 @@ def uri_dialog(self, uri, callback):
handle = obj.uistate.get_active(object_class)
if handle:
uri = "gramps://%s/handle/%s" % (object_class, handle)
break
EditLink(obj.dbstate, obj.uistate, obj.track, uri, callback)