git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hopefully fixed a crash when popping up the menu like a madman.
[MenuTunes.git]
/
MainController.m
diff --git
a/MainController.m
b/MainController.m
index
5406ad9
..
64af7d0
100755
(executable)
--- a/
MainController.m
+++ b/
MainController.m
@@
-1003,8
+1003,9
@@
static MainController *sharedController;
- (void)popupMenu
{
if (!_popped) {
- (void)popupMenu
{
if (!_popped) {
- NSMenu *menu = [menuController menu];
_popped = YES;
_popped = YES;
+ [self menuClicked];
+ NSMenu *menu = [statusItem menu];
[(NSCarbonMenuImpl *)[menu _menuImpl] popUpMenu:menu atLocation:[NSEvent mouseLocation] width:1 forView:nil withSelectedItem:-30 withFont:[NSFont menuFontOfSize:32]];
_popped = NO;
}
[(NSCarbonMenuImpl *)[menu _menuImpl] popUpMenu:menu atLocation:[NSEvent mouseLocation] width:1 forView:nil withSelectedItem:-30 withFont:[NSFont menuFontOfSize:32]];
_popped = NO;
}