NOISSUE Set working directory for MCEdit on Windows

It seems to require it, unlike the other versions.
This commit is contained in:
Petr Mrázek 2016-11-03 02:21:50 +01:00
parent f0b71f989e
commit f4de049b13

View File

@ -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