mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 16:38:02 +02:00
SynEdit: fix OnClearMark, checking the correct fields for assigned. Issue #41522
This commit is contained in:
parent
fff12f1750
commit
6c2a52efe0
@ -7926,7 +7926,7 @@ begin
|
||||
end;
|
||||
if (smcrRemoved in Changes) and Sender.IsBookmark then begin
|
||||
FBookMarks[Sender.BookmarkNumber] := nil;
|
||||
if Assigned(FOnPlaceMark) then
|
||||
if Assigned(FOnClearMark) then
|
||||
FOnClearMark(Self, Sender);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user