Make Variable::SetRange() more forgiving.
This commit is contained in:
parent
015e5f06d8
commit
bad1d6ba7e
@ -137,11 +137,9 @@ Variable::SetMax(double max)
|
||||
void
|
||||
Variable::SetRange(double min, double max)
|
||||
{
|
||||
if (!fIsValid)
|
||||
return;
|
||||
|
||||
fMin = min;
|
||||
fMax = max;
|
||||
if (fIsValid)
|
||||
fLS->UpdateRange(this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user