mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-21 11:29:29 +08:00
fix: unhandled error in dialogs.go
Does lead to deadlocks otherwise
This commit is contained in:
parent
4a2dc2875f
commit
14d6623c13
@ -291,6 +291,9 @@ func (d *OpenFileDialogStruct) PromptForMultipleSelection() ([]string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
selections, err := InvokeSyncWithResultAndError(d.impl.show)
|
selections, err := InvokeSyncWithResultAndError(d.impl.show)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
var result []string
|
var result []string
|
||||||
for filename := range selections {
|
for filename := range selections {
|
||||||
|
Loading…
Reference in New Issue
Block a user