designer: restore occasionally removed 'not'

git-svn-id: trunk@16857 -
This commit is contained in:
paul 2008-10-03 08:07:17 +00:00
parent f43da932e4
commit 1ea08777de

View File

@ -1179,8 +1179,8 @@ begin
PaintClientGrid(TWinControl(Sender),DDC);
end;
if (WidgetSet.GetLCLCapability(lcCanDrawOutsideOnPaint) <> 0)
and EnvironmentOptions.DesignerPaintLazy then
if (WidgetSet.GetLCLCapability(lcCanDrawOutsideOnPaint) <> 0) and
not EnvironmentOptions.DesignerPaintLazy then
DoPaintDesignerItems;
end;