Call triggerAction on page, not view.

This commit is contained in:
Florian Bruhin 2014-12-29 22:12:09 +01:00
parent 8e550ebe88
commit 0cd0f97587

View File

@ -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()