mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Changed setRecompute() to forceRecompute()
See https://github.com/numworks/epsilon/pull/1538#discussion_r419255425
This commit is contained in:
committed by
EmilieNumworks
parent
9e8229e767
commit
480459ab19
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user