Changed setRecompute() to forceRecompute()

See https://github.com/numworks/epsilon/pull/1538#discussion_r419255425
This commit is contained in:
Joachim Le Fournis
2020-05-04 09:33:43 +02:00
committed by EmilieNumworks
parent 9e8229e767
commit 480459ab19
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ public:
void setEnd(double f);
void setStep(double f);
void setElement(int i, double f);
void setNeedCompute(bool compute){ m_needCompute = compute;}
void forceRecompute(){ m_needCompute = true;}
void reset();
void clear();
// TODO: decide the max number of elements after optimization

View File

@@ -85,7 +85,7 @@ int IntervalParameterController::reusableParameterCellCount(int type) {
}
void IntervalParameterController::buttonAction() {
m_interval->setNeedCompute(true);
m_interval->forceRecompute();
StackViewController * stack = stackController();
stack->pop();
if (stack->depth() > 1) {