Options not in the cascade list should have their implementation set to 'none'

This commit is contained in:
Ferdi Franceschini
2014-07-09 09:41:09 +10:00
parent b5d3b745c3
commit 1b4cca9390

View File

@@ -509,6 +509,10 @@ class InstConfigManager(object):
if self.cf_dat.opt_dict[opt]['permanent'] == True:
self.opt_lw.button_dict[opt].set_state(True)
if self.opt_lw.button_dict[opt].get_state() == False:
self.cf_dat.set_imp(opt, 'none')
self.opt_lw.button_dict[opt].set_label('{0}:none'.format(opt))
return
def opt_statechange(self, button, new_state):