Don't allow the implementation of permanent options to be set to 'none'.
This commit is contained in:
@ -475,6 +475,9 @@ class InstConfigManager(object):
|
|||||||
for imp in self.cf_dat.iter_implementations(opt):
|
for imp in self.cf_dat.iter_implementations(opt):
|
||||||
if self.__imp_unavailable(opt, imp, 'focus'):
|
if self.__imp_unavailable(opt, imp, 'focus'):
|
||||||
continue
|
continue
|
||||||
|
elif imp == 'none' and self.cf_dat.opt_dict[opt]['permanent']:
|
||||||
|
continue
|
||||||
|
|
||||||
if imp == self.cf_dat.opt_dict[opt]['selected_imp']:
|
if imp == self.cf_dat.opt_dict[opt]['selected_imp']:
|
||||||
imp_items.append((imp, True))
|
imp_items.append((imp, True))
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user