mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Use ‘enabled2’ in binding since we already bind to ‘enabled’
Before the Replace & Find button was enabled for folder searches.
This commit is contained in:
@@ -270,7 +270,7 @@ static NSButton* OakCreateStopSearchButton ()
|
||||
[self.countButton bind:NSEnabledBinding toObject:_objectController withKeyPath:@"content.findString.length" options:nil];
|
||||
[self.findAllButton bind:NSEnabledBinding toObject:_objectController withKeyPath:@"content.findString.length" options:nil];
|
||||
[self.replaceAllButton bind:NSEnabledBinding toObject:_objectController withKeyPath:@"content.findString.length" options:nil];
|
||||
[self.replaceAndFindButton bind:NSEnabledBinding toObject:_objectController withKeyPath:@"content.findString.length" options:nil];
|
||||
[self.replaceAndFindButton bind:@"enabled2" toObject:_objectController withKeyPath:@"content.findString.length" options:nil];
|
||||
[self.findPreviousButton bind:NSEnabledBinding toObject:_objectController withKeyPath:@"content.findString.length" options:nil];
|
||||
[self.findNextButton bind:NSEnabledBinding toObject:_objectController withKeyPath:@"content.findString.length" options:nil];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user