Fix typo.
This commit is contained in:
parent
c21ae0b651
commit
e1f2259e98
@ -1166,7 +1166,7 @@ class CommandDispatcher:
|
||||
member = getattr(QWebPage, action, None)
|
||||
if not isinstance(member, QWebPage.WebAction):
|
||||
raise cmdexc.CommandError("{} is not a valid web action!".format(
|
||||
acction))
|
||||
action))
|
||||
view = self._current_widget()
|
||||
for _ in range(count):
|
||||
view.triggerPageAction(member)
|
||||
|
Loading…
Reference in New Issue
Block a user