mirror of
https://github.com/transmission/transmission.git
synced 2025-12-26 21:29:18 +00:00
enable the URL sheet's add button when shown if text is already entered
This commit is contained in:
@@ -44,6 +44,8 @@ NSString * urlString = @"";
|
||||
|
||||
[fTextField setStringValue: urlString];
|
||||
[fTextField selectText: self];
|
||||
|
||||
[fOpenButton setEnabled: ![urlString isEqualToString: @""]];
|
||||
}
|
||||
|
||||
- (IBAction) beginSheetForWindow: (NSWindow *) window
|
||||
|
||||
Reference in New Issue
Block a user