mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-06-18 21:30:12 +10:00
Respect Use multiple columns setting for all folder items
Currently it was used only in some cases (like Programs/Apps folder). It will be more consistent to respect the setting for all folder items. Fixes #436.
This commit is contained in:
@@ -402,7 +402,7 @@ void CMenuContainer::OpenSubMenu( int index, TActivateType type, bool bShift )
|
|||||||
if (m_Options&CONTAINER_NOEXTENSIONS)
|
if (m_Options&CONTAINER_NOEXTENSIONS)
|
||||||
options|=CONTAINER_NOEXTENSIONS;
|
options|=CONTAINER_NOEXTENSIONS;
|
||||||
|
|
||||||
if (item.id==MENU_PROGRAMS || item.id==MENU_APPS || (m_Options&CONTAINER_MULTICOL_REC))
|
if (item.id==MENU_PROGRAMS || item.id==MENU_APPS || item.bFolder || (m_Options&CONTAINER_MULTICOL_REC))
|
||||||
options|=CONTAINER_MULTICOL_REC;
|
options|=CONTAINER_MULTICOL_REC;
|
||||||
if ((options&CONTAINER_MULTICOL_REC) && !bShift)
|
if ((options&CONTAINER_MULTICOL_REC) && !bShift)
|
||||||
options|=CONTAINER_MULTICOLUMN;
|
options|=CONTAINER_MULTICOLUMN;
|
||||||
|
|||||||
Reference in New Issue
Block a user