Fix make_unknown to create valid Place

Fixes #10202
This commit is contained in:
prculley 2017-09-19 10:28:18 -05:00 committed by Nick Hall
parent 9643c6d620
commit 61552f6903

View File

@ -117,6 +117,7 @@ def make_unknown(class_arg, explanation, class_func, commit_func, transaction,
obj.set_type(EventType.UNKNOWN)
elif isinstance(obj, Place):
obj.set_title(_('Unknown'))
obj.name.set_value(_('Unknown'))
elif isinstance(obj, Source):
obj.set_title(_('Unknown'))
elif isinstance(obj, Citation):