Qt: inform lcl about resize during design time.

git-svn-id: trunk@27241 -
This commit is contained in:
zeljko 2010-08-31 15:25:10 +00:00
parent 1a2d37383b
commit 115fb411b9

View File

@ -3020,8 +3020,9 @@ begin
if not Assigned(LCLObject) then exit;
// do not loop with LCL but do not apply it to TQtMainWindow !
if not (ClassType = TQtMainWindow) and InUpdate then
exit;
if not (csDesigning in LCLObject.ComponentState) then
if not (ClassType = TQtMainWindow) and InUpdate then
exit;
if (NewSize.cx <> LCLObject.Width) or (NewSize.cy <> LCLObject.Height) or
(LCLObject.ClientRectNeedsInterfaceUpdate) then