FIX: Close tab by hotkey (fixes #2662)

(cherry picked from commit e5d1c0b305)
This commit is contained in:
Alexander Koblov 2026-02-15 14:11:30 +03:00
commit 41cc7f7441

View file

@ -530,7 +530,7 @@ begin
end;
{$ENDIF}
Page[Index].Free;
Tabs.Delete(Index);
ShowTabs:= ((PageCount > 1) or (tb_always_visible in gDirTabOptions)) and gDirectoryTabs;