From f4de049b134cae226e944a5039eae67657877dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 3 Nov 2016 02:21:50 +0100 Subject: [PATCH] NOISSUE Set working directory for MCEdit on Windows It seems to require it, unlike the other versions. --- application/pages/WorldListPage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/application/pages/WorldListPage.cpp b/application/pages/WorldListPage.cpp index 365da4a4..cc712572 100644 --- a/application/pages/WorldListPage.cpp +++ b/application/pages/WorldListPage.cpp @@ -176,6 +176,7 @@ void WorldListPage::on_mcEditBtn_clicked() m_mceditProcess->setDetachable(true); connect(m_mceditProcess.get(), &LoggedProcess::stateChanged, this, &WorldListPage::mceditState); m_mceditProcess->start(program, {fullPath}); + m_mceditProcess->setWorkingDirectory(mceditPath); m_mceditStarting = true; } else