mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 21:01:14 +02:00
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:
parent
1d4cd359c5
commit
774e6fca79
@ -1475,7 +1475,8 @@ begin
|
|||||||
end
|
end
|
||||||
else if (OldState in [dsRun]) then
|
else if (OldState in [dsRun]) then
|
||||||
begin
|
begin
|
||||||
MainIDE.UnhideIDE;
|
if EnvironmentOptions.HideIDEOnRun
|
||||||
|
then MainIDE.UnhideIDE;
|
||||||
FPrevShownWindow := GetForegroundWindow;
|
FPrevShownWindow := GetForegroundWindow;
|
||||||
Application.BringToFront;
|
Application.BringToFront;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user