mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 14:29:31 +02:00
T(Float)SpinEdit: set Modified to False if Value is set programmatically.
This commit is contained in:
parent
2e98d119cc
commit
abd3cd5c6b
@ -142,6 +142,8 @@ begin
|
|||||||
FUpdatePending := True;
|
FUpdatePending := True;
|
||||||
UpdateControl;
|
UpdateControl;
|
||||||
|
|
||||||
|
Modified := False;
|
||||||
|
|
||||||
if not HandleAllocated
|
if not HandleAllocated
|
||||||
and ([csLoading, csDestroying] * ComponentState = [])
|
and ([csLoading, csDestroying] * ComponentState = [])
|
||||||
and not SameValue(OldValue, FValue) then
|
and not SameValue(OldValue, FValue) then
|
||||||
|
Loading…
Reference in New Issue
Block a user