mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Stop Find window showing an NSSavePanel on ⌘S
This commit is contained in:
committed by
Allan Odgaard
parent
2022fab80c
commit
1faaf77d99
@@ -430,6 +430,8 @@ OAK_DEBUG_VAR(Find_FolderSearch);
|
||||
{
|
||||
if(anItem.action == @selector(saveAllDocuments:))
|
||||
return self.hasPerformedReplacement && !self.hasPerformedSave;
|
||||
else if(anItem.action == @selector(saveDocument:) || anItem.action == @selector(saveDocumentAs:))
|
||||
return NO;
|
||||
return [super validateUserInterfaceItem:anItem];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user