diff --git a/apps/spreadsheeteditor/main/app/view/CellSettings.js b/apps/spreadsheeteditor/main/app/view/CellSettings.js index 7c12a57cc..a726df8c2 100644 --- a/apps/spreadsheeteditor/main/app/view/CellSettings.js +++ b/apps/spreadsheeteditor/main/app/view/CellSettings.js @@ -148,11 +148,11 @@ define([ }, onAngleChange: function(field, newValue, oldValue, eOpts) { - this.api && this.api.asc_setCellAngle(field.getNumberValue()); + this.api && (newValue!==oldValue) && this.api.asc_setCellAngle(field.getNumberValue()); }, onIndentChange: function(field, newValue, oldValue, eOpts) { - this.api && this.api.asc_setCellIndent(field.getNumberValue()); + this.api && (newValue!==oldValue) && this.api.asc_setCellIndent(field.getNumberValue()); }, render: function () {