From 160a9c07135737a733b05f61d4afb8fc72a9cddb Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 6 Jan 2023 12:42:29 -0500 Subject: [PATCH] Resolve shortcuts for Open Project --- CHANGELOG.md | 1 + src/mainwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f87bff4..78158a65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The **"Breaking Changes"** listed below are changes that have been made in the d - Fix New Map settings being preserved when switching projects. - Fix scripting API callback `onMapResized` not triggering. - Fix crash when importing AdvanceMap metatiles while `enable_triple_layer_metatiles` is enabled. +- Fix `File -> Open Project` not resolving folder shortcuts. ## [5.0.0] - 2022-10-30 ### Breaking Changes diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f271b8b3..522eadc7 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -608,7 +608,7 @@ QString MainWindow::getDefaultMap() { } QString MainWindow::getExistingDirectory(QString dir) { - return QFileDialog::getExistingDirectory(this, "Open Directory", dir, QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks); + return QFileDialog::getExistingDirectory(this, "Open Directory", dir, QFileDialog::ShowDirsOnly); } void MainWindow::on_action_Open_Project_triggered()