mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-20 16:31:34 +02:00
Qt: must restore minimized active modal form in any case if we tried to restore non-active modal form from taskbar.issue #29744
git-svn-id: trunk@51732 -
This commit is contained in:
parent
e090cee919
commit
18fd7670b3
@ -7154,8 +7154,8 @@ begin
|
||||
begin
|
||||
{$IFDEF MSWINDOWS}
|
||||
// issues #26463, #29744, must restore app if we activate non modal window from taskbar
|
||||
if (Application.ModalLevel > 0) and not IsModal and
|
||||
(QApplication_activeModalWidget <> nil) and QWidget_isMinimized(QApplication_activeModalWidget) then
|
||||
if (Application.ModalLevel > 0) and
|
||||
(QApplication_activeModalWidget <> nil) and QWidget_isMinimized(QApplication_activeModalWidget) then
|
||||
begin
|
||||
W := QApplication_activeModalWidget;
|
||||
// back to tray
|
||||
|
Loading…
Reference in New Issue
Block a user