Merge pull request #4156 from johannes-luebke/patch-1

[v3] fix: unhandled error in dialogs.go
This commit is contained in:
Lea Anthony 2025-04-09 18:32:38 +10:00 committed by GitHub
commit 1d575e3453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -291,6 +291,9 @@ func (d *OpenFileDialogStruct) PromptForMultipleSelection() ([]string, error) {
}
selections, err := InvokeSyncWithResultAndError(d.impl.show)
if err != nil {
return nil, err
}
var result []string
for filename := range selections {

View file

@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Fixed
- Fixed locking issue on Windows when multiselect dialog returns an error. Fixed in [PR](https://github.com/wailsapp/wails/pull/4156) by @johannes-luebke
## v2.9.1 - 2024-06-18
### Fixed