mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 09:53:20 +02:00
parent
7172b748f4
commit
8be0e41f40
@ -1539,6 +1539,9 @@ procedure TDebugManager.UpdateButtonsAndMenuItems;
|
||||
var
|
||||
DebuggerInvalid: boolean;
|
||||
begin
|
||||
if (MainIDE=nil) or (MainIDE.ToolStatus = itExiting)
|
||||
then exit;
|
||||
|
||||
DebuggerInvalid:=(FDebugger=nil) or (MainIDE.ToolStatus<>itDebugger);
|
||||
with MainIDEBar do begin
|
||||
// For 'run' and 'step' bypass 'idle', so we can set the filename later
|
||||
|
Loading…
Reference in New Issue
Block a user