[v3] use concrete *WebviewWindow

This commit is contained in:
Travis McLane
2023-09-29 11:40:43 -05:00
parent 7b84b1c79c
commit af54419a0b
6 changed files with 15 additions and 14 deletions
@@ -102,7 +102,7 @@ func (m *MessageProcessor) processDialogMethod(method int, rw http.ResponseWrite
}
var detached = args.Bool("Detached")
if detached == nil || !*detached {
options.Window = window
options.Window = window.(*WebviewWindow)
}
dialog := OpenFileDialogWithOptions(&options)