This commit is contained in:
Kovid Goyal 2018-06-11 13:59:40 +05:30
parent 05c475e6ca
commit 4acc692a94
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -792,6 +792,9 @@ def patch_colors(self, spec, configured=False):
for k, v in spec.items():
if hasattr(self.opts, k):
setattr(self.opts, k, color_from_int(v))
patch_global_colors(spec)
for tm in self.all_tab_managers:
tm.tab_bar.patch_colors(spec)
if not configured:
spec = spec.copy()
spec.pop('background', None)
patch_global_colors(spec)