mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 11:19:23 +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
|
if Source is TSynEditMouseActions then
|
||||||
begin
|
begin
|
||||||
Clear;
|
Clear;
|
||||||
|
BeginUpdate;
|
||||||
for i := 0 to TSynEditMouseActions(Source).Count-1 do
|
for i := 0 to TSynEditMouseActions(Source).Count-1 do
|
||||||
Add.Assign(TSynEditMouseActions(Source)[i]);
|
Add.Assign(TSynEditMouseActions(Source)[i]);
|
||||||
|
EndUpdate;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
inherited Assign(Source);
|
inherited Assign(Source);
|
||||||
|
Loading…
Reference in New Issue
Block a user