[DE] Fix Bug 50671 (#916)

This commit is contained in:
Julia Radzhabova 2021-06-04 14:25:15 +03:00 committed by GitHub
parent 05b331ce03
commit eb93ff3c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -447,7 +447,7 @@ define([ 'text!documenteditor/main/app/template/TableSettingsAdvanced.templat
this.cmbPrefWidthUnit.setDisabled(!value); this.cmbPrefWidthUnit.setDisabled(!value);
if (this._changedProps) { if (this._changedProps) {
if (value && this.nfPrefWidth.getNumberValue()>0) if (value && this.nfPrefWidth.getNumberValue()>0)
this._changedProps.put_CellsWidth(this.cmbPrefWidthUnit.getValue() ? -field.getNumberValue() : Common.Utils.Metric.fnRecalcToMM(this.nfPrefWidth.getNumberValue())); this._changedProps.put_CellsWidth(this.cmbPrefWidthUnit.getValue() ? -this.nfPrefWidth.getNumberValue() : Common.Utils.Metric.fnRecalcToMM(this.nfPrefWidth.getNumberValue()));
else else
this._changedProps.put_CellsWidth(null); this._changedProps.put_CellsWidth(null);
} }