Qt: adjust clientrect of MDIChild if needed, after restoring from minimized state.

git-svn-id: trunk@51637 -
This commit is contained in:
zeljko 2016-02-16 12:10:05 +00:00
parent d07b954b46
commit cbd2968005

View File

@ -7219,6 +7219,10 @@ begin
{inform LCL about change}
SlotWindowStateChange;
if (AOldState and QtWindowMinimized <> 0) and (ANewState and QtWindowMinimized = 0) and
(ANewState and QtWindowMaximized = 0) and LCLObject.ClientRectNeedsInterfaceUpdate then
LCLObject.DoAdjustClientRectChange(True);
{activate next mdi in chain if we are minimized}
if Assigned(MDIChildArea) and
(ANewState and QtWindowMinimized = QtWindowMinimized) and