mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-22 03:50:47 +01:00
Qt: fixed modal stack under qt-win32. issue #29602
git-svn-id: trunk@51526 -
This commit is contained in:
parent
58aaa3977b
commit
b801134b9b
@ -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