mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 09:09:32 +02:00
SynEdit, Mouse Actions: Fixed a out of bounds exception
git-svn-id: trunk@20531 -
This commit is contained in:
parent
f57b66915d
commit
97aec1fea7
@ -223,7 +223,7 @@ begin
|
||||
try
|
||||
FCurActions.AssertNoConflict(MAct);
|
||||
except
|
||||
FCurActions.Delete(FCurActions.Count);
|
||||
FCurActions.Delete(FCurActions.Count - 1);
|
||||
MessageDlg(dlgMouseOptErrorDup, dlgMouseOptErrorDupText, mtError, [mbOk], 0);
|
||||
end;
|
||||
ContextTreeChange(nil, FCurNode);
|
||||
|
Loading…
Reference in New Issue
Block a user