* fixed setting wrong component state. csDesignInstance and csInline were set inversed.

git-svn-id: trunk@13916 -
This commit is contained in:
ivost 2009-10-21 19:24:10 +00:00
parent d44c6876cd
commit 0c725eae43

View File

@ -301,18 +301,18 @@ Procedure TComponent.SetDesignInstance(Value: Boolean);
begin begin
If Value then If Value then
Exclude(FComponentState, csDesignInstance) Include(FComponentState, csDesignInstance)
else else
Include(FComponentState, csDesignInstance); Exclude(FComponentState, csDesignInstance);
end; end;
Procedure TComponent.SetInline(Value: Boolean); Procedure TComponent.SetInline(Value: Boolean);
begin begin
If Value then If Value then
Exclude(FComponentState, csInline) Include(FComponentState, csInline)
else else
Include(FComponentState, csInline); Exclude(FComponentState, csInline);
end; end;