mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
(cherry picked from commit c13e3a07e6)
This commit is contained in:
parent
445461bec1
commit
fbfbce839c
1 changed files with 5 additions and 0 deletions
|
|
@ -1815,6 +1815,11 @@ begin
|
|||
MenuItem:= TMenuItem.Create(FTabsMenu);
|
||||
MenuItem.Tag:= Index;
|
||||
MenuItem.Caption:= ANotebook.Page[Index].Caption;
|
||||
if (ANotebook.Page[Index].LockState in [tlsPathLocked, tlsPathResets, tlsDirsInNewTab]) and
|
||||
(tb_show_asterisk_for_locked in gDirTabOptions) then
|
||||
begin
|
||||
MenuItem.Caption:= Copy(MenuItem.Caption, 2, MaxInt);
|
||||
end;
|
||||
MenuItem.OnClick:= @DoTabMenuClick;
|
||||
FTabsMenu.Items.Add(MenuItem);
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue