mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: set Application.ShowMenuGlyphs as the main switch for IconsInMenu to avoid inconsistencies across menus.
This commit is contained in:
parent
4c4d9ee02d
commit
ea416ee321
1 changed files with 4 additions and 0 deletions
|
|
@ -3214,6 +3214,10 @@ begin
|
|||
gCustomIcons := TCustomIconsMode(GetValue(Node, 'CustomIcons', Integer(gCustomIcons)));
|
||||
gIconsInMenus := GetAttr(Node, 'ShowInMenus/Enabled', gIconsInMenus);
|
||||
gIconsInMenusSize := GetValue(Node, 'ShowInMenus/Size', gIconsInMenusSize);
|
||||
if gIconsInMenus then
|
||||
Application.ShowMenuGlyphs:= sbgAlways
|
||||
else
|
||||
Application.ShowMenuGlyphs:= sbgNever;
|
||||
Application.ShowButtonGlyphs := TApplicationShowGlyphs(GetValue(Node, 'ShowButtonGlyphs', Integer(Application.ShowButtonGlyphs)));
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue