[se] Fix bug 78909

This commit is contained in:
GoshaZotov
2025-12-03 14:21:00 +03:00
parent f337736850
commit 431cec5f2c

View File

@ -23040,7 +23040,7 @@
if (internalType !== -1) {
let t = this;
this.parent.private_changeStyle(function (newRule) {
let index = t.GetIndex() - 1;
let index = t.GetIndex();
newRule.aRuleElements[0].aCFVOs[index].asc_setType(internalType);
newRule.aRuleElements[0].aCFVOs[index].formula = null;
newRule.aRuleElements[0].aCFVOs[index].formulaParent = null;
@ -23090,7 +23090,7 @@
if (this.cfvo) {
let t = this;
this.parent.private_changeStyle(function (newRule) {
let index = t.GetIndex() - 1;
let index = t.GetIndex();
newRule.aRuleElements[0].aCFVOs[index].asc_setVal(value);
newRule.aRuleElements[0].aCFVOs[index].formula = null;
newRule.aRuleElements[0].aCFVOs[index].formulaParent = null;
@ -23171,7 +23171,7 @@
if (this.color) {
let t = this;
this.parent.private_changeStyle(function (newRule) {
let index = t.GetIndex() - 1;
let index = t.GetIndex();
if (newRule.aRuleElements && newRule.aRuleElements[0] &&
newRule.aRuleElements[0].aColors &&
newRule.aRuleElements[0].aColors[index]) {