From d6ec082fd2071df688fd30652d434e2f47ff6fa2 Mon Sep 17 00:00:00 2001 From: "Julia.Radzhabova" Date: Thu, 16 Oct 2025 15:46:34 +0300 Subject: [PATCH] Fix solver dialog --- apps/spreadsheeteditor/main/app/view/SolverDlg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/SolverDlg.js b/apps/spreadsheeteditor/main/app/view/SolverDlg.js index 55279044dc..1f50a61682 100644 --- a/apps/spreadsheeteditor/main/app/view/SolverDlg.js +++ b/apps/spreadsheeteditor/main/app/view/SolverDlg.js @@ -327,7 +327,7 @@ define([ if (this.originalMethod!==AscCommonExcel.c_oAscSolvingMethod.simplexLP && method===AscCommonExcel.c_oAscSolvingMethod.simplexLP) { // method is changed to simplex LP Common.UI.warning({ - msg: this.textConfirmChangeMethod.replace(/%1/g, method===AscCommonExcel.c_oAscSolvingMethod.grgNonlinear ? this.textNonlinear : this.textEvolutionary), + msg: this.textConfirmChangeMethod.replace(/%1/g, this.originalMethod===AscCommonExcel.c_oAscSolvingMethod.grgNonlinear ? this.textNonlinear : this.textEvolutionary), maxwidth: 600, buttons: ['ok', 'cancel'], callback: function(btn){