Skip to content

Commit 48f4474

Browse files
* polish SME
1 parent 704879f commit 48f4474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AasxPackageLogic/DispEditHelperEntities.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4413,10 +4413,10 @@ public void DisplayOrEditAasEntitySubmodelElement(
44134413

44144414
// add the keys
44154415
if (this.SafeguardAccess(
4416-
stack, repo, sml.SemanticIdListElement, "semanticIdListElement:", "Create data element!",
4416+
stack, repo, sml.SemanticIdListElement, "semanticIdListElement:", "Create w/ default!",
44174417
v =>
44184418
{
4419-
sml.SemanticIdListElement = new Aas.Reference(Aas.ReferenceTypes.ExternalReference, new List<Aas.IKey>());
4419+
sml.SemanticIdListElement = Options.Curr.GetDefaultEmptyReference();
44204420
this.AddDiaryEntry(sml, new DiaryEntryStructChange());
44214421
return new AnyUiLambdaActionRedrawEntity();
44224422
}))

0 commit comments

Comments
 (0)