T(Float)SpinEditEx: don't enforce MaxValue >= MinValue in UpdateControl. Related to issue .

git-svn-id: trunk@65065 -
This commit is contained in:
bart 2021-04-27 21:25:02 +00:00
parent 5bbea24d10
commit 05664128ac

View File

@ -34,7 +34,7 @@ procedure TSpinEditExBase.UpdateControl;
var
ANumber: T;
begin
if (MaxValue < MinValue) then FMaxValue := MinValue;
//if (MaxValue < MinValue) then FMaxValue := MinValue;
if (FNullValueBehaviour <> nvbShowTextHint) then
FValue := GetLimitedValue(FValue);
if (not HandleAllocated) then Exit;