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:
zeljko 2010-06-30 20:42:52 +00:00
parent 985aea5d22
commit 58192fb656

View File

@ -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;