From 62b949679bff76270228aecf86cb1109168ce0c5 Mon Sep 17 00:00:00 2001 From: ge0rdi Date: Sun, 30 Aug 2020 20:31:56 +0200 Subject: [PATCH] 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. --- Src/StartMenu/StartMenuDLL/MenuCommands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/StartMenu/StartMenuDLL/MenuCommands.cpp b/Src/StartMenu/StartMenuDLL/MenuCommands.cpp index bd89335..2f6acd0 100644 --- a/Src/StartMenu/StartMenuDLL/MenuCommands.cpp +++ b/Src/StartMenu/StartMenuDLL/MenuCommands.cpp @@ -402,7 +402,7 @@ void CMenuContainer::OpenSubMenu( int index, TActivateType type, bool bShift ) if (m_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; if ((options&CONTAINER_MULTICOL_REC) && !bShift) options|=CONTAINER_MULTICOLUMN;