mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 09:00:25 +02:00
LCL: TCustomEdit: set Modified if we really call Change().Patch by Bart Broersma. fixes #16793
git-svn-id: trunk@26366 -
This commit is contained in:
parent
985aea5d22
commit
58192fb656
@ -491,12 +491,13 @@ begin
|
||||
CaretPos := CPos;
|
||||
end;
|
||||
end;
|
||||
|
||||
if not (wcfCreatingHandle in FWinControlFlags) then
|
||||
begin
|
||||
Modified := True;
|
||||
if ([csLoading,csDestroying]*ComponentState=[]) then
|
||||
begin
|
||||
Modified := True;
|
||||
Change;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user