Permalink
Browse files

fix menu dividers

  • Loading branch information...
1 parent 6f69e83 commit ae55b9e89569d6ef6eef181e4fb4807402aa65fc @redmunds redmunds committed Dec 28, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 appshell/appshell_extensions_mac.mm
@@ -1098,8 +1098,9 @@ int32 AddMenuItem(CefRefPtr<CefBrowser> browser, ExtensionString parentCommand,
[newItem setKeyEquivalent:keyStr];
[newItem setKeyEquivalentModifierMask:mask];
[newItem setTag:tag];
- NativeMenuModel::getInstance(getMenuParent(browser)).setOsItem(tag, (void*)newItem);
}
+ NativeMenuModel::getInstance(getMenuParent(browser)).setOsItem(tag, (void*)newItem);
+
NSInteger positionIdx = -1;
int32 errCode = getNewMenuPosition(browser, subMenu, position, relativeId, positionIdx);
if (positionIdx > -1) {

0 comments on commit ae55b9e

Please sign in to comment.