validator set to false for read_write in setting
This commit is contained in:
parent
2cb3ddf2e8
commit
d00a623fc1
1 changed files with 3 additions and 0 deletions
|
@ -145,6 +145,7 @@ class Setting():
|
|||
|
||||
def read_only(self):
|
||||
"convenience method to freeze, hidde and disable"
|
||||
# FIXME LE FREEZE NE MARCHE PAS
|
||||
self.freeze()
|
||||
self.disable_property('hidden')
|
||||
self.enable_property('disabled')
|
||||
|
@ -153,10 +154,12 @@ class Setting():
|
|||
|
||||
def read_write(self):
|
||||
"convenience method to freeze, hidde and disable"
|
||||
# FIXME : POURQUOI UN FREEZE ICI ?
|
||||
self.freeze()
|
||||
self.enable_property('hidden')
|
||||
self.enable_property('disabled')
|
||||
self.mandatory = False
|
||||
self.validator = False
|
||||
|
||||
def non_mandatory(self):
|
||||
"""mandatory at the Config level means that the Config raises an error
|
||||
|
|
Loading…
Reference in a new issue