diff --git a/CHANGELOG.md b/CHANGELOG.md index a35d4964..98421468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ## Bugs fixed - diff dialog: the content reloaded matched to the state when the dialog was shown, not when closed. (#97) +- editor, debugging: during a debugging session, wrong icon displayed when a breakpoint is removed. # v3.9.12 diff --git a/src/u_synmemo.pas b/src/u_synmemo.pas index 4351e042..6bf99e08 100644 --- a/src/u_synmemo.pas +++ b/src/u_synmemo.pas @@ -3992,7 +3992,7 @@ begin m := marks.Line[line]; if m.isAssigned then for i := 0 to m.count - 1 do - if (m[i].ImageIndex = integer(value)) then + if m[i].Visible and (m[i].ImageIndex = integer(value)) then exit(true); end;