Skip to content

Commit b8313e5

Browse files
committed
fix: mouse click in edited row calls save action although focus did not change
Refs #2475
1 parent 1872916 commit b8313e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/main.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11371,7 +11371,7 @@ procedure TMainForm.AnyGridMouseUp(Sender: TObject; Button: TMouseButton;
1137111371
// Exit early for non-result-grids like ListTables
1137211372
if Grid <> ActiveGrid then
1137311373
Exit;
11374-
Grid.GetHitTestInfoAt(X, Y, False, {%H-}Hit);
11374+
Grid.GetHitTestInfoAt(X, Y, True, {%H-}Hit);
1137511375
if (Hit.HitNode = nil) or (Hit.HitColumn = NoColumn) or (Hit.HitColumn = InvalidColumn) then begin
1137611376
Results := GridResult(Grid);
1137711377
if Results.Modified then begin

0 commit comments

Comments
 (0)