Use set context menu when param is not specified

This commit is contained in:
Kevin Sawicki 2016-06-28 15:10:32 -07:00
parent 6d7b52eceb
commit e797eb5ca3
2 changed files with 4 additions and 3 deletions

View file

@ -263,7 +263,7 @@ const CGFloat kVerticalTitleMargin = 2;
}
if (menuController_ && ![menuController_ isMenuOpen]) {
// Redraw the dray icon to show highlight if it is enabled.
// Redraw the tray icon to show highlight if it is enabled.
[self setNeedsDisplay:YES];
[statusItem_ popUpStatusItemMenu:[menuController_ menu]];
// The popUpStatusItemMenu returns only after the showing menu is closed.