From f8c538011343d3d3e1acbbf015b9df3d617658fb Mon Sep 17 00:00:00 2001 From: zeljko Date: Sat, 24 Apr 2010 11:17:49 +0000 Subject: [PATCH] Qt: do not send dummy resize event for normal groupboxes. git-svn-id: trunk@24871 - --- lcl/interfaces/qt/qtwidgets.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lcl/interfaces/qt/qtwidgets.pas b/lcl/interfaces/qt/qtwidgets.pas index 0303b43628..d66243e4a7 100644 --- a/lcl/interfaces/qt/qtwidgets.pas +++ b/lcl/interfaces/qt/qtwidgets.pas @@ -5023,7 +5023,8 @@ begin LCLObject.DoAdjustClientRectChange(False); SlotShow(True); {send dummy LM_SIZE to LCL} - if LCLObject.ClientRectNeedsInterfaceUpdate then + if (FGroupBoxType <> tgbtNormal) and + LCLObject.ClientRectNeedsInterfaceUpdate then begin OldSize.cx := LCLObject.Height; OldSize.cy := LCLObject.Width;