mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Open the data directory file picker at the last opened location
This commit is contained in:
parent
11c2fd9e3d
commit
86426aa87b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue