IDE: only unhide the ide, if it was hidden before by the debugger, fixes issue #13597

git-svn-id: trunk@21133 -
This commit is contained in:
vincents 2009-08-07 10:50:12 +00:00
parent 1d4cd359c5
commit 774e6fca79

View File

@ -1475,7 +1475,8 @@ begin
end
else if (OldState in [dsRun]) then
begin
MainIDE.UnhideIDE;
if EnvironmentOptions.HideIDEOnRun
then MainIDE.UnhideIDE;
FPrevShownWindow := GetForegroundWindow;
Application.BringToFront;
end;