Skip to content

Commit 38598c5

Browse files
committed
- Fix the stupid copy paste. git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23874 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 68c71a0 commit 38598c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMEdit/OMEditGUI/Simulation/SimulationProcessThread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void SimulationProcessThread::simulationProcessFinished(int exitCode, QProcess::
211211
QString exitCodeStr = tr("Simulation process exited with code %1").arg(QString::number(exitCode));
212212
if (exitStatus == QProcess::NormalExit && exitCode == 0) {
213213
emit sendSimulationOutput(exitCodeStr, StringHandler::OMEditInfo, true);
214-
} else if (mpCompilationProcess->error() == QProcess::UnknownError) {
214+
} else if (mpSimulationProcess->error() == QProcess::UnknownError) {
215215
emit sendSimulationOutput(exitCodeStr, StringHandler::Error, true);
216216
} else {
217217
emit sendSimulationOutput(mpSimulationProcess->errorString() + "\n" + exitCodeStr, StringHandler::Error, true);

0 commit comments

Comments
 (0)