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 )
1272
1272
item.bSplit =item.bFolder && (item.pStdItem ->settings &StdMenuItem::MENU_SPLIT_BUTTON)!=0 ;
1273
1273
1274
1274
// 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
+
1275
1279
CItemManager::TIconSizeType iconSizeType;
1276
1280
int refreshFlags;
1277
1281
if (bSearchProvider7 || m_bSubMenu)
@@ -1328,6 +1332,8 @@ void CMenuContainer::AddStandardItems( void )
1328
1332
else
1329
1333
item.pItemInfo =g_ItemManager.GetCustomIcon (NULL ,iconSizeType);
1330
1334
1335
+ mainIconSize=mainIconSizeOrig;
1336
+
1331
1337
// get name
1332
1338
if (pStdItem->label && _wcsicmp (pStdItem->label ,L" none" )==0 )
1333
1339
{
You can’t perform that action at this time.
0 commit comments