show Activated in ACE only for boolean options
This commit is contained in:
parent
7758a87e3c
commit
815255d317
|
@ -262,8 +262,10 @@ class AdvancedConfigurationWindow(object):
|
|||
if name == 'password':
|
||||
value = _('Hidden')
|
||||
else:
|
||||
value = self.right_true_dict.get(option[OPT_VAL],
|
||||
option[OPT_VAL])
|
||||
if type_ == self.types['boolean']:
|
||||
value = self.right_true_dict[option[OPT_VAL]]
|
||||
else:
|
||||
value = option[OPT_VAL]
|
||||
self.model.append(parent, [name, value, type_])
|
||||
|
||||
def visible_func(self, model, treeiter):
|
||||
|
|
Loading…
Reference in New Issue