revert dialog channel close (#3395)

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
Atterpac
2024-04-15 18:03:35 +10:00
committed by GitHub
co-authored by Lea Anthony
parent 0895e6a508
commit 220d5535f7
-1
View File
@@ -272,7 +272,6 @@ func (d *OpenFileDialogStruct) PromptForSingleSelection() (string, error) {
if err == nil {
result = <-selections
}
close(selections)
return result, err
}