mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
ADD: Show hotkeys for kasbarmenu (patch by Rustem)
This commit is contained in:
parent
a7265e2e65
commit
8b73f0c8ad
1 changed files with 4 additions and 1 deletions
|
|
@ -146,7 +146,10 @@ begin
|
|||
For I:=0 to Fbar.ButtonCount-1 do
|
||||
begin
|
||||
Item:=TMenuItem.Create(Self);
|
||||
Item.Caption:=Fbar.GetButtonX(I,MenuX);
|
||||
if Fbar.GetButtonX(I,MiskX) <> '' then
|
||||
Item.Caption:=Fbar.GetButtonX(I,MenuX)+' ('+Fbar.GetButtonX(I,MiskX)+')'
|
||||
else
|
||||
Item.Caption:=Fbar.GetButtonX(I,MenuX);
|
||||
//------------------------------------------------------
|
||||
if Assigned(FOnLoadButtonGlyph) then
|
||||
BitmapTmp := FOnLoadButtonGlyph(FBar.GetButtonX(I,ButtonX), 16, clMenu)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue