mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 15:00:24 +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);
|
EditorShow(true);
|
||||||
end;
|
end;
|
||||||
MoveSelection;
|
MoveSelection;
|
||||||
end;
|
end else
|
||||||
|
FGridState:=gsSelecting;
|
||||||
finally
|
finally
|
||||||
exclude(fGridFlags, gfEditingDone);
|
exclude(fGridFlags, gfEditingDone);
|
||||||
fGridState:=gsSelecting;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
@ -6702,6 +6702,7 @@ begin
|
|||||||
P:=MouseToLogcell(Point(X,Y));
|
P:=MouseToLogcell(Point(X,Y));
|
||||||
if gfNeedsSelectActive in GridFlags then
|
if gfNeedsSelectActive in GridFlags then
|
||||||
SelectActive := (P.x<>FPivot.x)or(P.y<>FPivot.y);
|
SelectActive := (P.x<>FPivot.x)or(P.y<>FPivot.y);
|
||||||
|
MoveExtend(false, P.X, P.Y, false);
|
||||||
end;
|
end;
|
||||||
gsColMoving:
|
gsColMoving:
|
||||||
if goColMoving in Options then
|
if goColMoving in Options then
|
||||||
|
Loading…
Reference in New Issue
Block a user