aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-08-28 17:25:07 +0100
committerTheKodeToad <TheKodeToad@proton.me>2023-08-28 17:25:07 +0100
commit0e67686295e25a3dda587e4955837e6201ae23e8 (patch)
treec9e31a7cf78fc7b6822c4ac71fee1200ac1b90db /launcher/ui/dialogs
parente98bca47493f53b324d0ac7fd9eac9386c30be23 (diff)
downloadPrismLauncher-0e67686295e25a3dda587e4955837e6201ae23e8.tar.gz
PrismLauncher-0e67686295e25a3dda587e4955837e6201ae23e8.tar.bz2
PrismLauncher-0e67686295e25a3dda587e4955837e6201ae23e8.zip
Hide index folder in pack export dialog
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r--launcher/ui/dialogs/ExportPackDialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/ui/dialogs/ExportPackDialog.cpp b/launcher/ui/dialogs/ExportPackDialog.cpp
index b0558df7..5af24b1b 100644
--- a/launcher/ui/dialogs/ExportPackDialog.cpp
+++ b/launcher/ui/dialogs/ExportPackDialog.cpp
@@ -81,10 +81,9 @@ ExportPackDialog::ExportPackDialog(InstancePtr instance, QWidget* parent, ModPla
MinecraftInstance* mcInstance = dynamic_cast<MinecraftInstance*>(instance.get());
if (mcInstance) {
- mcInstance->loaderModList()->update();
const QDir index = mcInstance->loaderModList()->indexDir();
if (index.exists())
- proxy->blockedPaths().insert(root.relativeFilePath(index.absolutePath()));
+ proxy->ignoreFilesWithPath().insert(root.relativeFilePath(index.absolutePath()));
}
ui->files->setModel(proxy);