mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-22 07:34:02 +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
|
begin
|
||||||
{$IFDEF MSWINDOWS}
|
{$IFDEF MSWINDOWS}
|
||||||
// issues #26463, #29744, must restore app if we activate non modal window from taskbar
|
// issues #26463, #29744, must restore app if we activate non modal window from taskbar
|
||||||
if (Application.ModalLevel > 0) and not IsModal and
|
if (Application.ModalLevel > 0) and
|
||||||
(QApplication_activeModalWidget <> nil) and QWidget_isMinimized(QApplication_activeModalWidget) then
|
(QApplication_activeModalWidget <> nil) and QWidget_isMinimized(QApplication_activeModalWidget) then
|
||||||
begin
|
begin
|
||||||
W := QApplication_activeModalWidget;
|
W := QApplication_activeModalWidget;
|
||||||
// back to tray
|
// back to tray
|
||||||
|
Loading…
Reference in New Issue
Block a user