mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Lost focus on tab change 2
This commit is contained in:
parent
2a4c51b2b2
commit
83e84b2dfc
1 changed files with 6 additions and 2 deletions
|
|
@ -1148,14 +1148,18 @@ begin
|
|||
if PanelSelected = fpLeft then // same panel
|
||||
FrameLeft.SetFocus
|
||||
else if Boolean(gDirTabOptions and tb_activate_panel_on_click) then
|
||||
SetActiveFrame(fpLeft);
|
||||
SetActiveFrame(fpLeft)
|
||||
else
|
||||
FrameRight.SetFocus;
|
||||
end;
|
||||
if (Name = 'nbRight') and (FrameRight <> nil) then
|
||||
begin
|
||||
if PanelSelected = fpRight then // same panel
|
||||
FrameRight.SetFocus
|
||||
else if Boolean(gDirTabOptions and tb_activate_panel_on_click) then
|
||||
SetActiveFrame(fpRight);
|
||||
SetActiveFrame(fpRight)
|
||||
else
|
||||
FrameLeft.SetFocus;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue