summaryrefslogtreecommitdiffstats
path: root/application/pages
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-03 02:21:50 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-03 02:21:50 +0100
commitf4de049b134cae226e944a5039eae67657877dd3 (patch)
tree127b0bcf9e6296563a3d1bf3c08e09800e9227d1 /application/pages
parentf0b71f989ea798495ad80d1f059ae0a28514f9a2 (diff)
downloadMultiMC-f4de049b134cae226e944a5039eae67657877dd3.tar
MultiMC-f4de049b134cae226e944a5039eae67657877dd3.tar.gz
MultiMC-f4de049b134cae226e944a5039eae67657877dd3.tar.lz
MultiMC-f4de049b134cae226e944a5039eae67657877dd3.tar.xz
MultiMC-f4de049b134cae226e944a5039eae67657877dd3.zip
NOISSUE Set working directory for MCEdit on Windows
It seems to require it, unlike the other versions.
Diffstat (limited to 'application/pages')
-rw-r--r--application/pages/WorldListPage.cpp1
1 files changed, 1 insertions, 0 deletions
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