mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Delete via button
This commit is contained in:
parent
68d494112c
commit
891fdf7ada
1 changed files with 5 additions and 2 deletions
|
|
@ -976,8 +976,11 @@ procedure TfrmMain.btnF8MouseDown(Sender: TObject; Button: TMouseButton;
|
|||
var
|
||||
Point: TPoint;
|
||||
begin
|
||||
Point := (Sender as TControl).ClientToScreen(Classes.Point(X, Y));
|
||||
ShowTrashContextMenu(Self, Point.X, Point.Y, nil);
|
||||
if Button = mbRight then
|
||||
begin
|
||||
Point := (Sender as TControl).ClientToScreen(Classes.Point(X, Y));
|
||||
ShowTrashContextMenu(Self, Point.X, Point.Y, nil);
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TfrmMain.mnuAllOperStopClick(Sender: TObject);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue