5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-07 04:40:05 +08:00
This commit is contained in:
Lea Anthony 2025-04-26 12:40:35 +10:00
parent 0c14b208b3
commit 3a72dd6a0d
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
2 changed files with 43 additions and 40 deletions

View File

@ -5,7 +5,7 @@ This document is for tracking the status of the v3-alpha branch in readiness for
## Examples ## Examples
| Example | Linux | Windows | macOS | | Example | Linux | Windows | macOS |
|--------------------|-------|--------------------------------------------------|-------| |--------------------|-------|--------------------------------------------------|-------------------------------------------------------|
| badge | | ✅ | | | badge | | ✅ | |
| binding | | ✅ | ✅ | | binding | | ✅ | ✅ |
| cancel-async | | ✅ | ✅ | | cancel-async | | ✅ | ✅ |

View File

@ -198,7 +198,10 @@ func (m *windowSaveFileDialog) show() (chan string, error) {
}, false) }, false)
go func() { go func() {
defer handlePanic() defer handlePanic()
files <- result.(string) filename, ok := result.(string)
if ok {
files <- filename
}
close(files) close(files)
}() }()
return files, err return files, err