Skip to content

Commit

Permalink
- Implemented scripting command getModelicaPath() (setModelicaPath() …
Browse files Browse the repository at this point in the history
…already existed)

  - OMEdit now uses this command to query the path instead of getting it from the system environment


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7552 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 22, 2010
1 parent b587517 commit f2fc061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/OMCProxy.cpp
Expand Up @@ -237,7 +237,7 @@ bool OMCProxy::startServer()
// set the temp directory.
changeDirectory(Helper::tmpPath);
// set the OpenModelicaLibrary variable.
getEnvironmentVar("OPENMODELICALIBRARY");
sendCommand("getModelicaPath()");
Helper::OpenModelicaLibrary = StringHandler::removeFirstLastQuotes(getResult());
return true;
}
Expand Down

0 comments on commit f2fc061

Please sign in to comment.