mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 04:49:40 +02:00
Merged revision(s) 51526 #b801134b9b from trunk:
Qt: fixed modal stack under qt-win32. issue #29602 ........ git-svn-id: branches/fixes_1_6@51530 -
This commit is contained in:
parent
a51dd190e7
commit
044d93423a
@ -436,6 +436,8 @@ begin
|
||||
// qt doesn't modal windows as QtTool.see issue #18709
|
||||
if (TForm(AWinControl).BorderStyle in [bsToolWindow, bsSizeToolWin]) then
|
||||
QWidget_setWindowFlags(Widget.Widget, QtDialog);
|
||||
if QApplication_activeModalWidget <> nil then
|
||||
QWidget_setParent(Widget.Widget, QApplication_activeModalWidget);
|
||||
{$endif}
|
||||
|
||||
{$ifdef HASX11}
|
||||
|
Loading…
Reference in New Issue
Block a user