mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* fixed setting wrong component state. csDesignInstance and csInline were set inversed.
git-svn-id: trunk@13916 -
This commit is contained in:
parent
d44c6876cd
commit
0c725eae43
@ -301,18 +301,18 @@ Procedure TComponent.SetDesignInstance(Value: Boolean);
|
||||
|
||||
begin
|
||||
If Value then
|
||||
Exclude(FComponentState, csDesignInstance)
|
||||
Include(FComponentState, csDesignInstance)
|
||||
else
|
||||
Include(FComponentState, csDesignInstance);
|
||||
Exclude(FComponentState, csDesignInstance);
|
||||
end;
|
||||
|
||||
Procedure TComponent.SetInline(Value: Boolean);
|
||||
|
||||
begin
|
||||
If Value then
|
||||
Exclude(FComponentState, csInline)
|
||||
Include(FComponentState, csInline)
|
||||
else
|
||||
Include(FComponentState, csInline);
|
||||
Exclude(FComponentState, csInline);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user