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

This commit is contained in:
Bart 2021-10-03 12:47:45 +02:00
parent 2e98d119cc
commit abd3cd5c6b

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