mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Bug [0001017] Entries in Directory Hotlist have no auto-shortcut any more #2
This commit is contained in:
parent
bd5f1d4c0d
commit
72a35a7f14
1 changed files with 3 additions and 3 deletions
|
|
@ -467,7 +467,7 @@ begin
|
|||
DirExistUnknown, DirExist:
|
||||
begin
|
||||
miMainTree := TMenuItem.Create(mncmpMenuComponentToPopulate);
|
||||
miMainTree.Caption := GetMenuCaptionAccordingToOptions(HotDir[I - 1].HotDirName,HotDir[I - 1].HotDirPath);
|
||||
miMainTree.Caption := GetCaption(GetMenuCaptionAccordingToOptions(HotDir[I - 1].HotDirName,HotDir[I - 1].HotDirPath));
|
||||
miMainTree.tag := (I - 1) + TagOffset;
|
||||
miMainTree.OnClick := ProcedureWhenHotDirItemClicked;
|
||||
|
||||
|
|
@ -484,7 +484,7 @@ begin
|
|||
hd_NULL, hd_COMMAND:
|
||||
begin
|
||||
miMainTree := TMenuItem.Create(mncmpMenuComponentToPopulate);
|
||||
miMainTree.Caption := HotDir[I - 1].HotDirName;
|
||||
miMainTree.Caption := GetCaption(HotDir[I - 1].HotDirName);
|
||||
miMainTree.tag := (I - 1) + TagOffset;
|
||||
miMainTree.OnClick := ProcedureWhenHotDirItemClicked;
|
||||
|
||||
|
|
@ -511,7 +511,7 @@ begin
|
|||
hd_STARTMENU:
|
||||
begin
|
||||
miMainTree := TMenuItem.Create(mncmpMenuComponentToPopulate);
|
||||
miMainTree.Caption := HotDir[I - 1].HotDirName;
|
||||
miMainTree.Caption := GetCaption(HotDir[I - 1].HotDirName);
|
||||
if gIconsInMenus then miMainTree.ImageIndex := ICONINDEX_SUBMENU;
|
||||
if mncmpMenuComponentToPopulate.ClassType = TPopupMenu then
|
||||
TPopupMenu(mncmpMenuComponentToPopulate).Items.Add(miMainTree)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue