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:
zeljko 2011-10-28 06:56:39 +00:00
parent 2dc96b55e7
commit 254f24d18c

View File

@ -1167,7 +1167,11 @@ begin
if (AForm.WindowState in [wsNormal,wsMaximized]) and BringToFront then
AForm.ShowOnTop
else
begin
AForm.Visible:=true;
if BringToFront and (AForm.WindowState in [wsMinimized]) then
AForm.WindowState := wsNormal;
end;
end;
end;