mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:19:32 +02:00
SynEdit, Mouse-Actions: Fixed an assertion error, when changing actions, issue #14309
git-svn-id: trunk@21164 -
This commit is contained in:
parent
742c44e3d0
commit
f4fe7d4be2
@ -497,8 +497,10 @@ begin
|
||||
if Source is TSynEditMouseActions then
|
||||
begin
|
||||
Clear;
|
||||
BeginUpdate;
|
||||
for i := 0 to TSynEditMouseActions(Source).Count-1 do
|
||||
Add.Assign(TSynEditMouseActions(Source)[i]);
|
||||
EndUpdate;
|
||||
end
|
||||
else
|
||||
inherited Assign(Source);
|
||||
|
Loading…
Reference in New Issue
Block a user