Qt: dont set autofillbackground for native widgets (HasPaint=False) during design time.

git-svn-id: trunk@16440 -
This commit is contained in:
zeljko 2008-09-05 17:15:23 +00:00
parent bd60b6c4c1
commit 5a470061ce

View File

@ -1369,6 +1369,7 @@ begin
if (csDesigning in LCLObject.ComponentState) and not
(Self is TQtMainWindow) and
HasPaint and
getAutoFillBackground then
setAutoFillBackground(False);