mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 23:18:01 +02:00
SynEdit: Fixed crash in SyncroEdit, when undoing. Introduced in r60079 #507784f308 "improved syncro/template edit to deal with adjacent cells"
git-svn-id: trunk@60805 -
This commit is contained in:
parent
ff1abdbffb
commit
232ec1cc26
@ -1139,6 +1139,8 @@ begin
|
||||
Pos2 := Pos;
|
||||
if not FEditing then
|
||||
DoBeforeEdit(Pos.x, Pos.y, aCount, aLineBrkCnt, IsUndoing or IsRedoing);
|
||||
if not Active then
|
||||
exit;
|
||||
|
||||
edit := FEditing or IsUndoing or IsRedoing;
|
||||
if (not edit) then begin
|
||||
|
Loading…
Reference in New Issue
Block a user