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:
martin 2019-03-31 17:04:14 +00:00
parent ff1abdbffb
commit 232ec1cc26

View File

@ -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