mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-10 04:23:39 -04:00
Open FileDialog in game root
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
e22930fabf
commit
9c920fbad9
@ -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…
x
Reference in New Issue
Block a user