From f74dba0c03d94990ba18490ad9a4d52bf3ddc5b4 Mon Sep 17 00:00:00 2001 From: Brian Ferguson Date: Thu, 13 Feb 2014 09:42:37 -0700 Subject: [PATCH] !SkinCustomMenu allow for separators --- Library/ContextMenu.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Library/ContextMenu.cpp b/Library/ContextMenu.cpp index 6c61a98c..7eb1cd04 100644 --- a/Library/ContextMenu.cpp +++ b/Library/ContextMenu.cpp @@ -500,8 +500,15 @@ void ContextMenu::AppendSkinCustomMenu( { if (isTitleSeparator(cTitles[i])) { - // Separators not allowed in main top-level menu - --position; + if (standaloneMenu) + { + AppendMenu(menu, MF_BYPOSITION | MF_SEPARATOR, 0, nullptr); + } + else + { + // Separators not allowed in main top-level menu + --position; + } } else {