mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-09 09:39:53 +00:00
Auto-detect the actual Morrowind assets path (Fixes #4336)
This commit is contained in:
parent
9b8c56761b
commit
5a3086b0c6
@ -62,10 +62,11 @@ Wizard::MainWizard::MainWizard(QWidget *parent) :
|
||||
setupInstallations();
|
||||
setupPages();
|
||||
|
||||
const boost::filesystem::path& installedPath = mCfgMgr.getInstallPath();
|
||||
if (!installedPath.empty())
|
||||
const boost::filesystem::path& installationPath = mCfgMgr.getInstallPath();
|
||||
if (!installationPath.empty())
|
||||
{
|
||||
addInstallation(toQString(installedPath));
|
||||
const boost::filesystem::path& dataPath = installationPath / "Data Files";
|
||||
addInstallation(toQString(dataPath));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user