mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-19 22:29:37 +01:00
Debugger: Fix "disabled" breakpoints are set as active, if the debugger is started. Issue #0017335
git-svn-id: trunk@27986 -
This commit is contained in:
parent
20785f705d
commit
ef22ab0b4a
@ -1049,7 +1049,6 @@ end;
|
||||
procedure TManagedBreakPoint.OnToggleEnableMenuItemClick(Sender: TObject);
|
||||
begin
|
||||
Enabled:=not Enabled;
|
||||
InitialEnabled:=Enabled;
|
||||
end;
|
||||
|
||||
procedure TManagedBreakPoint.OnDeleteMenuItemClick(Sender: TObject);
|
||||
@ -1162,6 +1161,7 @@ procedure TManagedBreakPoint.SetEnabled(const AValue: Boolean);
|
||||
begin
|
||||
if Enabled = AValue then exit;
|
||||
inherited SetEnabled(AValue);
|
||||
InitialEnabled:=Enabled;
|
||||
if FMaster <> nil then FMaster.Enabled := AValue;
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user