Skip to content

Commit 78fddfe

Browse files
committed
- Fixed the return value of changeDirectory.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23124 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent c05e51d commit 78fddfe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

OMEdit/OMEditGUI/OMC/OMCProxy.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1511,8 +1511,9 @@ QString OMCProxy::changeDirectory(QString directory)
15111511
directory = directory.replace("\\", "/");
15121512
sendCommand("cd(\"" + directory + "\")");
15131513
}
1514+
QString result = StringHandler::unparse(getResult());
15141515
printMessagesStringInternal();
1515-
return StringHandler::unparse(getResult());
1516+
return result;
15161517
}
15171518

15181519
/*!

0 commit comments

Comments
 (0)