mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
Selection of files by mouse right button is implemented
This commit is contained in:
parent
cc630a6029
commit
7e1bf46e1a
1 changed files with 2 additions and 2 deletions
|
|
@ -257,7 +257,7 @@ begin
|
|||
end;}
|
||||
case Button of
|
||||
mbRight: begin
|
||||
if (gMouseSelectionEnabled) and (gMouseSelectionButton = 2) then
|
||||
if (gMouseSelectionEnabled) and (gMouseSelectionButton = 1) then
|
||||
begin
|
||||
frp := pnlFile.GetReferenceItemPtr(iRow - dgPanel.FixedRows); // substract fixed rows (header)
|
||||
if Assigned(frp) then
|
||||
|
|
@ -307,7 +307,7 @@ begin
|
|||
end;
|
||||
dgPanel.Invalidate;
|
||||
end
|
||||
else
|
||||
else if (gMouseSelectionButton = 0) then
|
||||
begin
|
||||
pnlFile.MarkAllFiles(False);
|
||||
dgPanel.Invalidate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue