NOISSUE Set working directory for MCEdit on Windows
It seems to require it, unlike the other versions.
This commit is contained in:
parent
f0b71f989e
commit
f4de049b13
@ -176,6 +176,7 @@ void WorldListPage::on_mcEditBtn_clicked()
|
|||||||
m_mceditProcess->setDetachable(true);
|
m_mceditProcess->setDetachable(true);
|
||||||
connect(m_mceditProcess.get(), &LoggedProcess::stateChanged, this, &WorldListPage::mceditState);
|
connect(m_mceditProcess.get(), &LoggedProcess::stateChanged, this, &WorldListPage::mceditState);
|
||||||
m_mceditProcess->start(program, {fullPath});
|
m_mceditProcess->start(program, {fullPath});
|
||||||
|
m_mceditProcess->setWorkingDirectory(mceditPath);
|
||||||
m_mceditStarting = true;
|
m_mceditStarting = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user