Skip to content

Commit

Permalink
- Fix parseFile
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10194 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 21, 2011
1 parent 29badad commit fcbda67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/OMCProxy.cpp
Expand Up @@ -1056,7 +1056,7 @@ bool OMCProxy::parseFile(QString fileName)
{
fileName = fileName.replace('\\', '/');
sendCommand("parseFile(\"" + fileName + "\")");
return !StringHandler::unparseStrings(getResult()).empty();
return getResult() != "{}";
}

QStringList OMCProxy::parseString(QString value)
Expand Down

0 comments on commit fcbda67

Please sign in to comment.