From 3a4c3e7a7f1d7f246532ce4e3be5e232c47e8c11 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sat, 11 Jan 2025 14:35:12 +1100 Subject: [PATCH] Ensure showHiddenFiles works with directory dialog (#3904) * Ensure showHiddenFiles works with directory dialog * Updated docs --- v2/internal/frontend/desktop/darwin/WailsContext.m | 3 +-- website/src/pages/changelog.mdx | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/internal/frontend/desktop/darwin/WailsContext.m b/v2/internal/frontend/desktop/darwin/WailsContext.m index 581a8c138..67f9c2874 100644 --- a/v2/internal/frontend/desktop/darwin/WailsContext.m +++ b/v2/internal/frontend/desktop/darwin/WailsContext.m @@ -594,9 +594,8 @@ typedef void (^schemeTaskCaller)(id); } [dialog setAllowsMultipleSelection: allowMultipleSelection]; - [dialog setShowsHiddenFiles: showHiddenFiles]; - } + [dialog setShowsHiddenFiles: showHiddenFiles]; // Default Directory if( defaultDirectory != nil ) { diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx index bbe52a84b..2e148afb4 100644 --- a/website/src/pages/changelog.mdx +++ b/website/src/pages/changelog.mdx @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847) - Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846) - Fixed incorrect TS definition of `WindowSetSize` by @leaanthony +- Ensure showHiddenFiles works with directory dialog by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3904) - chore: fix some comments in [PR](https://github.com/wailsapp/wails/pull/3932) by @lvyaoting - [windows] Fixed frameless window flickering when minimizing/restoring by preventing unnecessary redraws [#3951](https://github.com/wailsapp/wails/issues/3951) - Fixed failed models.ts build due to non-json-encodable Go types [PR](https://github.com/wailsapp/wails/pull/3975) by [@pbnjay](https://github.com/pbnjay)