mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v3] use concrete *WebviewWindow
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user