mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 15:00:31 +02:00
LCL: GTK2: Fixed form freezes with BorderStyle bsSizeToolWin/bsToolWindow, if opened from modal form.
git-svn-id: trunk@56832 -
This commit is contained in:
parent
eee0b37745
commit
38eecb3d36
@ -706,7 +706,7 @@ var
|
||||
(AForm.Parent = nil) and
|
||||
(AForm.FormStyle <> fsMDIChild) and
|
||||
(ModalWindows <> nil) and (ModalWindows.Count > 0) and
|
||||
(AForm.BorderStyle in [bsDialog, bsSingle, bsSizeable]) and
|
||||
(AForm.BorderStyle in [bsDialog, bsSingle, bsSizeable, bsSizeToolWin, bsToolWindow]) and
|
||||
(AForm.PopupParent = nil) and (AForm.PopupMode = pmNone) then
|
||||
begin
|
||||
AWindow := {%H-}PGtkWindow(AForm.Handle);
|
||||
|
Loading…
Reference in New Issue
Block a user