mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Hitting Tab key when Quick Preview open applies focus both file panes (fixes #2079)
This commit is contained in:
parent
8914e6cd13
commit
e1fbd5c089
1 changed files with 8 additions and 5 deletions
|
|
@ -4253,11 +4253,14 @@ begin
|
|||
|
||||
VK_TAB:
|
||||
begin
|
||||
// Select opposite panel.
|
||||
case PanelSelected of
|
||||
fpLeft: SetActiveFrame(fpRight);
|
||||
fpRight: SetActiveFrame(fpLeft);
|
||||
else SetActiveFrame(fpLeft);
|
||||
if (QuickViewPanel = nil) then
|
||||
begin
|
||||
// Select opposite panel.
|
||||
case PanelSelected of
|
||||
fpLeft: SetActiveFrame(fpRight);
|
||||
fpRight: SetActiveFrame(fpLeft);
|
||||
else SetActiveFrame(fpLeft);
|
||||
end;
|
||||
end;
|
||||
Key := 0;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue