Hide "Open Recent" in xib

This commit is contained in:
Zhuo Lu 2017-11-18 22:02:39 -08:00 committed by Cheng Zhao
parent 4da2eb9366
commit 8b720c120d
2 changed files with 2 additions and 0 deletions

View file

@ -94,6 +94,7 @@ Role kRolesMap[] = {
if (!openRecentMenuItem_) {
openRecentMenuItem_ = [[[[NSApp mainMenu]
itemWithTitle:@"Electron"] submenu] itemWithTitle:@"Open Recent"];
[openRecentMenuItem_ setHidden:NO];
[openRecentMenuItem_ retain];
}

View file

@ -71,6 +71,7 @@
<string key="NSKeyEquiv"/>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
<bool key="NSIsHidden">YES</bool>
<reference key="NSOnImage" ref="229763992"/>
<reference key="NSMixedImage" ref="909111550"/>
<string key="NSAction">submenuAction:</string>