diff options
Diffstat (limited to 'qutebrowser/components/misccommands.py')
-rw-r--r-- | qutebrowser/components/misccommands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qutebrowser/components/misccommands.py b/qutebrowser/components/misccommands.py index 85598f56a..b8906b7b0 100644 --- a/qutebrowser/components/misccommands.py +++ b/qutebrowser/components/misccommands.py @@ -339,6 +339,7 @@ def devtools(tab: apitypes.Tab, @cmdutils.argument('tab', value=cmdutils.Value.cur_tab) def devtools_focus(tab: apitypes.Tab) -> None: """Toggle focus between the devtools/tab.""" + assert tab.data.splitter is not None try: tab.data.splitter.cycle_focus() except apitypes.InspectorError as e: |