1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 03:12:44 +00:00

enable the URL sheet's add button when shown if text is already entered

This commit is contained in:
Mitchell Livingston 2011-02-10 01:03:21 +00:00
parent 7fabe85b96
commit 7d9ce0df57

View file

@ -44,6 +44,8 @@ NSString * urlString = @"";
[fTextField setStringValue: urlString];
[fTextField selectText: self];
[fOpenButton setEnabled: ![urlString isEqualToString: @""]];
}
- (IBAction) beginSheetForWindow: (NSWindow *) window