Skip to content

Commit

Permalink
- unparsing the string received from OMC.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9619 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Aug 9, 2011
1 parent 3098119 commit 8b539f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/OMCProxy.cpp
Expand Up @@ -1148,7 +1148,7 @@ bool OMCProxy::saveModifiedModel(QString modelText)
QString OMCProxy::list(QString className)
{
sendCommand("list(" + className + ")");
return StringHandler::removeFirstLastQuotes(getResult()).trimmed().replace("\\\"", "\"");
return StringHandler::unparse(getResult());
}

bool OMCProxy::addClassAnnotation(QString className, QString annotation)
Expand Down

0 comments on commit 8b539f0

Please sign in to comment.