[DE] Fix form settings

This commit is contained in:
Julia Radzhabova 2021-07-02 16:00:29 +03:00
parent fce5caf86d
commit ed793a976e

View file

@ -806,12 +806,14 @@ define([
this.chMulti.setValue(!!val, true); this.chMulti.setValue(!!val, true);
this._state.Multi=val; this._state.Multi=val;
} }
this.chMulti.setDisabled(!this._state.Fixed);
val = formTextPr.get_AutoFit(); val = formTextPr.get_AutoFit();
if ( this._state.AutoFit!==val ) { if ( this._state.AutoFit!==val ) {
this.chAutofit.setValue(!!val, true); this.chAutofit.setValue(!!val, true);
this._state.AutoFit=val; this._state.AutoFit=val;
} }
this.chAutofit.setDisabled(!this._state.Fixed);
this.btnColor.setDisabled(!this._state.Comb); this.btnColor.setDisabled(!this._state.Comb);