mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 01:16:01 +02:00
IDE: Fix assigning a debug desktop. Issue #35778, patch from FTurtle.
git-svn-id: trunk@61486 -
This commit is contained in:
parent
bcf50802a4
commit
304ed9832d
@ -192,7 +192,8 @@ begin
|
||||
Exit;
|
||||
end;
|
||||
|
||||
if EnvironmentOptions.DebugDesktopName = aDesktopName then
|
||||
if (EnvironmentOptions.DebugDesktopName = aDesktopName) or
|
||||
(EnvironmentOptions.ActiveDesktopName = aDesktopName) then
|
||||
EnvironmentOptions.DebugDesktopName := ''
|
||||
else
|
||||
EnvironmentOptions.DebugDesktopName := aDesktopName;
|
||||
|
Loading…
Reference in New Issue
Block a user