T(Float)SpinEdit: set Modified to False if Value is set programmatically.

(cherry picked from commit abd3cd5c6b)
This commit is contained in:
Bart 2021-10-03 12:47:45 +02:00 committed by Maxim Ganetsky
parent 66b87899c0
commit 89a9ce9785

View File

@ -142,6 +142,8 @@ begin
FUpdatePending := True;
UpdateControl;
Modified := False;
if not HandleAllocated
and ([csLoading, csDestroying] * ComponentState = [])
and not SameValue(OldValue, FValue) then