This commit is contained in:
Florian Bruhin 2014-05-18 08:19:27 +02:00
parent 869c0d82e1
commit 8ed373423a

View File

@ -443,7 +443,7 @@ class CommandDispatcher(QObject):
def undo(self):
"""Re-open a closed tab (optionally skipping [count] tabs)."""
if self._tabs.url_stack:
self.tabopen(self._tabs.url_stack.pop())
self._tabs.tabopen(self._tabs.url_stack.pop())
else:
raise CommandError("Nothing to undo!")