src/app/webbrowser/ContentPickerDialog.qml breaks encapsulation by doing this:
onCancelPressed: webview.focus = true
Instead, you should do:
onCancelPressed: WebView.view.focus = true
(the 'WebView.view' attached property points to the parent webview).
By the way, is this still needed, and if so shouldn’t it be WebView.view.forceActiveFocus() ?
« Back to merge proposal
src/app/ webbrowser/ ContentPickerDi alog.qml breaks encapsulation by doing this:
onCancelPre ssed: webview.focus = true
Instead, you should do:
onCancelPre ssed: WebView.view.focus = true
(the 'WebView.view' attached property points to the parent webview).
By the way, is this still needed, and if so shouldn’t it be WebView. view.forceActiv eFocus( ) ?