mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-07 02:30:45 +08:00
Fix for #4235
This commit is contained in:
parent
0c14b208b3
commit
3a72dd6a0d
@ -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 | | ✅ | ✅ |
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user