Commit 7751c168 authored by Jesus's avatar Jesus
Browse files

LCL: Fix stringgrid double validation and revert patch that broke extending...

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

git-svn-id: trunk@59691 -
parent 73d58814
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment