Skip to content

Commit

Permalink
Set the save contents type when creating non existing classes
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Mar 26, 2019
1 parent e76522f commit f000581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OMEdit/OMEditGUI/Modeling/LibraryTreeWidget.cpp
Expand Up @@ -183,6 +183,8 @@ void LibraryTreeItem::setClassInformation(OMCInterface::getClassInformation_res
setSaveContentsType(LibraryTreeItem::SaveInOneFile);
}
}
} else {
setSaveContentsType(LibraryTreeItem::SaveInOneFile);
}
// handle the Access annotation
LibraryTreeItem::Access access = getAccess();
Expand Down

0 comments on commit f000581

Please sign in to comment.