Call triggerAction on page, not view.
This commit is contained in:
parent
8e550ebe88
commit
0cd0f97587
@ -315,7 +315,7 @@ class CommandDispatcher:
|
||||
tab = self._cntwidget(count)
|
||||
if tab is not None:
|
||||
if force:
|
||||
tab.triggerAction(QWebPage.ReloadAndBypassCache)
|
||||
tab.page().triggerAction(QWebPage.ReloadAndBypassCache)
|
||||
else:
|
||||
tab.reload()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user