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): def undo(self):
"""Re-open a closed tab (optionally skipping [count] tabs).""" """Re-open a closed tab (optionally skipping [count] tabs)."""
if self._tabs.url_stack: if self._tabs.url_stack:
self.tabopen(self._tabs.url_stack.pop()) self._tabs.tabopen(self._tabs.url_stack.pop())
else: else:
raise CommandError("Nothing to undo!") raise CommandError("Nothing to undo!")