Skip to content

Commit

Permalink
Dump all type prefixes for replaceable classes (#11711)
Browse files Browse the repository at this point in the history
Fixes #11708
  • Loading branch information
perost committed Dec 11, 2023
1 parent 269ed53 commit 4114a18
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions OMEdit/OMEditLIB/Modeling/Model.cpp
Expand Up @@ -2135,8 +2135,10 @@ namespace ModelInstance
if (!mBaseClass.isEmpty()) {
value.append("= ");

auto dir = getDirectionPrefix();
if (!dir.isEmpty()) value.append(dir);
if (mpPrefixes) {
auto prefixes = mpPrefixes->typePrefixes();
if (!prefixes.isEmpty()) value.append(prefixes);
}

value.append(mBaseClass);
}
Expand Down

0 comments on commit 4114a18

Please sign in to comment.