File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1272,6 +1272,10 @@ void CMenuContainer::AddStandardItems( void )
12721272 item.bSplit =item.bFolder && (item.pStdItem ->settings &StdMenuItem::MENU_SPLIT_BUTTON)!=0 ;
12731273
12741274 // get icon
1275+ const MenuSkin::TIconSize mainIconSizeOrig=mainIconSize;
1276+ if (item.bInline && mainIconSize==MenuSkin::ICON_SIZE_NONE)
1277+ mainIconSize=s_Skin.Main_icon_size ;
1278+
12751279 CItemManager::TIconSizeType iconSizeType;
12761280 int refreshFlags;
12771281 if (bSearchProvider7 || m_bSubMenu)
@@ -1328,6 +1332,8 @@ void CMenuContainer::AddStandardItems( void )
13281332 else
13291333 item.pItemInfo =g_ItemManager.GetCustomIcon (NULL ,iconSizeType);
13301334
1335+ mainIconSize=mainIconSizeOrig;
1336+
13311337 // get name
13321338 if (pStdItem->label && _wcsicmp (pStdItem->label ,L" none" )==0 )
13331339 {
You can’t perform that action at this time.
0 commit comments