Skip to content

Commit

Permalink
- Moved getComponentModifierNames to ModelicaBuiltin.mo.
Browse files Browse the repository at this point in the history
- updated getComponentModifierNames to scripting API.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24489 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Feb 9, 2015
1 parent 2012aef commit 1d00cd6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions OMEdit/OMEditGUI/OMC/OMCProxy.cpp
Expand Up @@ -1249,10 +1249,7 @@ QString OMCProxy::getParameterValue(QString className, QString parameter)
*/
QStringList OMCProxy::getComponentModifierNames(QString className, QString name)
{
sendCommand("getComponentModifierNames(" + className + "," + name + ")", true, className);
QString result = StringHandler::removeFirstLastCurlBrackets(getResult());
QStringList list = result.split(",", QString::SkipEmptyParts);
return list;
return mpOMCInterface->getComponentModifierNames(className, name);
}

/*!
Expand Down

0 comments on commit 1d00cd6

Please sign in to comment.