diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-03 02:21:50 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-03 02:21:50 +0100 |
commit | f4de049b134cae226e944a5039eae67657877dd3 (patch) | |
tree | 127b0bcf9e6296563a3d1bf3c08e09800e9227d1 | |
parent | f0b71f989ea798495ad80d1f059ae0a28514f9a2 (diff) | |
download | MultiMC-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.
-rw-r--r-- | application/pages/WorldListPage.cpp | 1 |
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 |