Open FileDialog in game root
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
e22930fabf
commit
9c920fbad9
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ bool MinecraftSettingsWidget::isQuickPlaySupported()
|
||||||
|
|
||||||
void MinecraftSettingsWidget::selectDataPacksFolder()
|
void MinecraftSettingsWidget::selectDataPacksFolder()
|
||||||
{
|
{
|
||||||
QString path = QFileDialog::getExistingDirectory(this, tr("Select Global Data Packs Folder"), m_instance->instanceRoot());
|
QString path = QFileDialog::getExistingDirectory(this, tr("Select Global Data Packs Folder"), m_instance->gameRoot());
|
||||||
|
|
||||||
if (path.isEmpty())
|
if (path.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue