mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 20:56:14 +02:00
IDE: fixed bug when OI minimized cannot be restored anymore when "Single button in taskbar" is enabled. Under X11 minimizing window
which is hidden from taskbar - simply hides window, and no way to restore it. issue #19690 git-svn-id: trunk@33127 -
This commit is contained in:
parent
2dc96b55e7
commit
254f24d18c
@ -1167,7 +1167,11 @@ begin
|
|||||||
if (AForm.WindowState in [wsNormal,wsMaximized]) and BringToFront then
|
if (AForm.WindowState in [wsNormal,wsMaximized]) and BringToFront then
|
||||||
AForm.ShowOnTop
|
AForm.ShowOnTop
|
||||||
else
|
else
|
||||||
|
begin
|
||||||
AForm.Visible:=true;
|
AForm.Visible:=true;
|
||||||
|
if BringToFront and (AForm.WindowState in [wsMinimized]) then
|
||||||
|
AForm.WindowState := wsNormal;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user