mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-28 08:09:39 +00:00
Auto-detect the actual Morrowind assets path (Fixes #4336)
This commit is contained in:
parent
9b8c56761b
commit
5a3086b0c6
1 changed files with 4 additions and 3 deletions
|
@ -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…
Reference in a new issue