diff --git a/Frameworks/OakAppKit/src/OakTabBarView.mm b/Frameworks/OakAppKit/src/OakTabBarView.mm index 57c3487e..c9bf6d69 100644 --- a/Frameworks/OakAppKit/src/OakTabBarView.mm +++ b/Frameworks/OakAppKit/src/OakTabBarView.mm @@ -465,8 +465,8 @@ static id SafeObjectAtIndex (NSArray* array, NSUInteger index) else if([action isEqualToString:NSAccessibilityShowMenuAction]) { self.tabBarView.tag = self.index; - NSRect rect = [self screenRect]; - [self.tabBarView showMenu:[self.tabBarView.delegate menuForTabBarView:self.tabBarView] inRect:rect withSelectedIndex:-1 font:[NSFont menuFontOfSize:[NSFont systemFontSize]] popup:NO]; + if([self.tabBarView.delegate respondsToSelector:@selector(menuForTabBarView:)]) + [[self.tabBarView.delegate menuForTabBarView:self.tabBarView] popUpMenuPositioningItem:nil atLocation:self.rect.origin inView:self.tabBarView]; } else {