[DE] Fix form settings
This commit is contained in:
parent
6aa8a226b9
commit
fce5caf86d
|
@ -813,9 +813,9 @@ define([
|
|||
this._state.AutoFit=val;
|
||||
}
|
||||
|
||||
this.btnColor.setDisabled(!val);
|
||||
this.btnColor.setDisabled(!this._state.Comb);
|
||||
|
||||
this.spnWidth.setDisabled(!val);
|
||||
this.spnWidth.setDisabled(!this._state.Comb);
|
||||
val = formTextPr.get_Width();
|
||||
if ( (val===undefined || this._state.Width===undefined)&&(this._state.Width!==val) || Math.abs(this._state.Width-val)>0.1) {
|
||||
this.spnWidth.setValue(val!==0 && val!==undefined ? Common.Utils.Metric.fnRecalcFromMM(val * 25.4 / 20 / 72.0) : -1, true);
|
||||
|
|
Loading…
Reference in a new issue