diff options
Diffstat (limited to 'api/logic/launch')
-rw-r--r-- | api/logic/launch/LaunchTask.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/logic/launch/LaunchTask.cpp b/api/logic/launch/LaunchTask.cpp index 9c09caf4..a006e519 100644 --- a/api/logic/launch/LaunchTask.cpp +++ b/api/logic/launch/LaunchTask.cpp @@ -56,6 +56,7 @@ void LaunchTask::prependStep(std::shared_ptr<LaunchStep> step) void LaunchTask::executeTask() { + m_instance->setCrashed(false); if(!m_steps.size()) { state = LaunchTask::Finished; @@ -217,6 +218,7 @@ void LaunchTask::emitFailed(QString reason) { m_instance->cleanupAfterRun(); m_instance->setRunning(false); + m_instance->setCrashed(true); Task::emitFailed(reason); } |