mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 08:38:19 +02:00
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:
parent
73d58814d3
commit
7751c168d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user