mirror of
https://github.com/textmate/textmate.git
synced 2026-04-06 03:01:29 -04:00
Add menu validation for Select Next / Previous Tab
This commit is contained in:
@@ -1889,6 +1889,8 @@ namespace
|
||||
active = self.fileBrowserVisible && [self.fileBrowser directoryForNewItems] != nil;
|
||||
else if([menuItem action] == @selector(moveDocumentToNewWindow:))
|
||||
active = _documents.size() > 1;
|
||||
else if([menuItem action] == @selector(selectNextTab:) || [menuItem action] == @selector(selectPreviousTab:))
|
||||
active = _documents.size() > 1;
|
||||
else if([menuItem action] == @selector(goBack:))
|
||||
active = self.fileBrowser.canGoBack;
|
||||
else if([menuItem action] == @selector(goForward:))
|
||||
|
||||
Reference in New Issue
Block a user