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':
|
if name == 'password':
|
||||||
value = _('Hidden')
|
value = _('Hidden')
|
||||||
else:
|
else:
|
||||||
value = self.right_true_dict.get(option[OPT_VAL],
|
if type_ == self.types['boolean']:
|
||||||
option[OPT_VAL])
|
value = self.right_true_dict[option[OPT_VAL]]
|
||||||
|
else:
|
||||||
|
value = option[OPT_VAL]
|
||||||
self.model.append(parent, [name, value, type_])
|
self.model.append(parent, [name, value, type_])
|
||||||
|
|
||||||
def visible_func(self, model, treeiter):
|
def visible_func(self, model, treeiter):
|
||||||
|
|
Loading…
Reference in New Issue