mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 07:29:34 +02:00
Qt5: do not update client rect cache if we are TQtWindowArea
git-svn-id: trunk@62941 -
This commit is contained in:
parent
2140309105
commit
20ca27b476
@ -4295,8 +4295,8 @@ begin
|
||||
InResizeEvent := True;
|
||||
try
|
||||
// do not loop with LCL but do not apply it to TQtMainWindow !
|
||||
if not (csDesigning in LCLObject.ComponentState) then
|
||||
if not (ClassType = TQtMainWindow) and InUpdate then
|
||||
if not (csDesigning in LCLObject.ComponentState) and
|
||||
not ((ClassType = TQtMainWindow) or (ClassType = TQtWindowArea)) and InUpdate then
|
||||
begin
|
||||
AQtClientRect := Rect(0, 0, 0, 0);
|
||||
if FOwner <> nil then
|
||||
|
Loading…
Reference in New Issue
Block a user