1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-28 19:11:34 +00:00

Merge branch 'moveoutalready' into 'master'

Open the data directory file picker at the last opened location

Closes #8426

See merge request OpenMW/openmw!4606
This commit is contained in:
psi29a 2025-04-07 11:04:26 +00:00
commit 428044abe2

View file

@ -765,7 +765,7 @@ void Launcher::DataFilesPage::addSubdirectories(bool append)
return;
QString rootPath = QFileDialog::getExistingDirectory(
this, tr("Select Directory"), QDir::homePath(), QFileDialog::ShowDirsOnly | QFileDialog::Option::ReadOnly);
this, tr("Select Directory"), {}, QFileDialog::ShowDirsOnly | QFileDialog::Option::ReadOnly);
if (rootPath.isEmpty())
return;