mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 01:37:12 +01:00
Qt: adjust clientrect of MDIChild if needed, after restoring from minimized state.
git-svn-id: trunk@51637 -
This commit is contained in:
parent
d07b954b46
commit
cbd2968005
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user