Skip to content

Commit

Permalink
- Fix build
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24943 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Mar 5, 2015
1 parent 9abadda commit 7777505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/OMC/OMCProxy.cpp
Expand Up @@ -1920,7 +1920,7 @@ QStringList OMCProxy::getSimulationOptions(QString className, double defaultTole
bool OMCProxy::translateModelFMU(QString className, double version, QString fileNamePrefix)
{
fileNamePrefix = fileNamePrefix.isEmpty() ? "<default>" : fileNamePrefix;
QString res = mpOMCInterface->translateModelFMU(className, QString::number(version), fileNamePrefix);
QString res = mpOMCInterface->translateModelFMU(className, QString::number(version), "me", fileNamePrefix);
if (res.compare("SimCode: The model " + className + " has been translated to FMU") == 0) {
return true;
} else {
Expand Down

0 comments on commit 7777505

Please sign in to comment.