mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: GetFileIndexFromCursor function result (fixes #2699)
This commit is contained in:
parent
121e7ad777
commit
8fbde876e5
2 changed files with 2 additions and 2 deletions
|
|
@ -1137,7 +1137,7 @@ begin
|
|||
begin
|
||||
MouseToCellWithoutOutbound(X, Y, iCol, iRow);
|
||||
Result:= CellToIndex(iCol, iRow);
|
||||
AtFileList:= (Result >= 0);
|
||||
AtFileList:= Y >= GetHeaderHeight;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
|
|
@ -669,7 +669,7 @@ begin
|
|||
begin
|
||||
MouseToCellWithoutOutbound(X, Y, iCol, iRow);
|
||||
Result:= CellToIndex(iCol, iRow);
|
||||
AtFileList:= (Result >= 0);
|
||||
AtFileList:= True; // Always at file list because header in dgPanel not used
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue