Commit 24ec0b1a authored by Morten Welinder's avatar Morten Welinder
Browse files

Solver: run update_derived in ::prepare.

parent e1ab9e50
2021-02-15 Morten Welinder <terra@gnome.org>
* gnm-solver.c (gnm_solver_prepare): Always run update_derived
here as someone could have changed the parameters underneath us.
2020-08-12 Morten Welinder <terra@gnome.org>
* Release 1.12.48
......
......@@ -1063,6 +1063,8 @@ gnm_solver_prepare (GnmSolver *sol, WorkbookControl *wbc, GError **err)
g_return_val_if_fail (GNM_IS_SOLVER (sol), FALSE);
g_return_val_if_fail (sol->status == GNM_SOLVER_STATUS_READY, FALSE);
gnm_solver_update_derived (sol);
g_signal_emit (sol, solver_signals[SOL_SIG_PREPARE], 0, wbc, err, &res);
return res;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment