summaryrefslogtreecommitdiff
path: root/qutebrowser/browser/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/browser/commands.py')
-rw-r--r--qutebrowser/browser/commands.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py
index 6c838edbf..ab7e60aed 100644
--- a/qutebrowser/browser/commands.py
+++ b/qutebrowser/browser/commands.py
@@ -434,6 +434,10 @@ class CommandDispatcher:
in which case the closest match will be taken.
keep: If given, keep the old tab around.
"""
+ if config.val.tabs.tabs_are_windows:
+ raise cmdutils.CommandError("Can't take tabs when using "
+ "windows as tabs")
+
tabbed_browser, tab = self._resolve_buffer_index(index)
if tabbed_browser is self._tabbed_browser:
@@ -1233,7 +1237,7 @@ class CommandDispatcher:
def toggle_inspector(self):
"""Toggle the web inspector.
- Note: Due a bug in Qt, the inspector will show incorrect request
+ Note: Due to a bug in Qt, the inspector will show incorrect request
headers in the network tab.
"""
tab = self._current_widget()