Reload page after content.javascript.can_access_keyboard changed
See #3648
This commit is contained in:
parent
0e2a39da2a
commit
afd5d2c728
@ -940,7 +940,8 @@ class WebEngineTab(browsertab.AbstractTab):
|
||||
super()._on_navigation_request(navigation)
|
||||
if navigation.accepted and navigation.is_main_frame:
|
||||
changed = self.settings.update_for_url(navigation.url)
|
||||
needs_reload = {'content.plugins', 'content.javascript.enabled'}
|
||||
needs_reload = {'content.plugins', 'content.javascript.enabled',
|
||||
'content.javascript.can_access_clipboard'}
|
||||
if (changed & needs_reload and navigation.navigation_type !=
|
||||
navigation.Type.link_clicked):
|
||||
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-66656
|
||||
|
Loading…
Reference in New Issue
Block a user