Handle invalid select-on-remove case.
This commit is contained in:
parent
67f726c9d4
commit
a6045ab551
@ -222,6 +222,9 @@ class CommandDispatcher:
|
||||
raise cmdexc.CommandError(
|
||||
"-o is not supported with 'tabs->select-on-remove' set to "
|
||||
"'previous'!")
|
||||
else: # pragma: no cover
|
||||
raise ValueError("Invalid select-on-remove value "
|
||||
"{!r}!".format(conf_selection))
|
||||
return None
|
||||
|
||||
@cmdutils.register(instance='command-dispatcher', scope='window',
|
||||
|
Loading…
Reference in New Issue
Block a user