mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Set focus on the right mouse button click (fixes #2395)
(cherry picked from commit 654eae2e0c)
This commit is contained in:
parent
67a0b57bfa
commit
9bc17f78f0
1 changed files with 4 additions and 4 deletions
|
|
@ -287,10 +287,10 @@ begin
|
|||
begin
|
||||
OnMouseDown(Self, Button, Shift, X, Y);
|
||||
end;
|
||||
if not Focused then
|
||||
begin
|
||||
if CanSetFocus then SetFocus;
|
||||
end;
|
||||
end;
|
||||
if not Focused then
|
||||
begin
|
||||
if CanSetFocus then SetFocus;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue