mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 16:29:25 +02:00
lcl: removed redundant assignments in CMParentColorChanged, CMParentShowHintChanged, CMParentBidiModeChanged
git-svn-id: trunk@23245 -
This commit is contained in:
parent
7f97b21ff5
commit
55d2de062f
@ -759,10 +759,7 @@ begin
|
||||
if csLoading in ComponentState then Exit;
|
||||
|
||||
if FParentColor then
|
||||
begin
|
||||
Color := FParent.Color;
|
||||
FParentColor := true;
|
||||
end;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
@ -775,10 +772,7 @@ begin
|
||||
if csLoading in ComponentState then Exit;
|
||||
|
||||
if FParentShowHint then
|
||||
begin
|
||||
ShowHint := FParent.ShowHint;
|
||||
FParentShowHint := True;
|
||||
end;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
@ -4919,7 +4913,6 @@ begin
|
||||
begin
|
||||
if FParent <> nil then
|
||||
BidiMode := FParent.BidiMode;
|
||||
ParentBidiMode := True;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user