Skip to content

Commit

Permalink
- Use quotes for getComponents API.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10684 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Dec 10, 2011
1 parent 14807b9 commit 9e90ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/OMCProxy.cpp
Expand Up @@ -1191,7 +1191,7 @@ QString OMCProxy::getNthInheritedClass(QString className, int num)
QList<ComponentsProperties*> OMCProxy::getComponents(QString className)
{
QString result;
QString expression = "getComponents(" + className + ")";
QString expression = "getComponents(" + className + ", useQuotes = true)";
// check the expression in CommandsMap
QString expressionResult = getCommandFromMap(expression);
if (expressionResult.isEmpty())
Expand Down

0 comments on commit 9e90ac2

Please sign in to comment.