mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 18:43:50 +02:00
T(Float)SpinEditEx: don't enforce MaxValue >= MinValue in UpdateControl. Related to issue #0038810.
git-svn-id: trunk@65065 -
This commit is contained in:
parent
5bbea24d10
commit
05664128ac
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user