From d7f1ebedbfc3c0cbe46c736f802ed0e156f154de Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 19 Jun 2017 13:04:43 +0200 Subject: [PATCH] Fix toggling options --- qutebrowser/config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index f71526220..3730f0fc6 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -176,7 +176,7 @@ class ConfigCommands: # Handle inversion as special cases of the cycle code path option = option[:-1] opt = self._config.get_opt(option) - if opt.typ is configtypes.Bool: + if isinstance(opt.typ, configtypes.Bool): values = ['false', 'true'] else: raise cmdexc.CommandError(