LCL: Fix stringgrid double validation and revert patch that broke extending selection, modified patch from tintinux, issue #34306

git-svn-id: trunk@59691 -
This commit is contained in:
jesus 2018-11-29 01:47:38 +00:00
parent 73d58814d3
commit 7751c168d7

View File

@ -6669,10 +6669,10 @@ begin
EditorShow(true);
end;
MoveSelection;
end;
end else
FGridState:=gsSelecting;
finally
exclude(fGridFlags, gfEditingDone);
fGridState:=gsSelecting;
end;
end;
@ -6702,6 +6702,7 @@ begin
P:=MouseToLogcell(Point(X,Y));
if gfNeedsSelectActive in GridFlags then
SelectActive := (P.x<>FPivot.x)or(P.y<>FPivot.y);
MoveExtend(false, P.X, P.Y, false);
end;
gsColMoving:
if goColMoving in Options then