mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 20:50:20 +08:00
Fix bug #675
This commit is contained in:
@ -5478,7 +5478,7 @@ var
|
|||||||
begin
|
begin
|
||||||
if Sender = DataGrid then res := FDataGridResult
|
if Sender = DataGrid then res := FDataGridResult
|
||||||
else res := FQueryGridResult;
|
else res := FQueryGridResult;
|
||||||
if not res.Rows[Node.Index].Loaded then begin
|
if (not res.Rows[Node.Index].Loaded) and (res.Rows[Node.Index].State <> grsInserted) then begin
|
||||||
start := Node.Index - (Node.Index mod GridMaxRows);
|
start := Node.Index - (Node.Index mod GridMaxRows);
|
||||||
limit := DataGrid.RootNodeCount - start;
|
limit := DataGrid.RootNodeCount - start;
|
||||||
if limit > GridMaxRows then limit := GridMaxRows;
|
if limit > GridMaxRows then limit := GridMaxRows;
|
||||||
|
Reference in New Issue
Block a user