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:
parent
7fabe85b96
commit
7d9ce0df57
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ NSString * urlString = @"";
|
|||
|
||||
[fTextField setStringValue: urlString];
|
||||
[fTextField selectText: self];
|
||||
|
||||
[fOpenButton setEnabled: ![urlString isEqualToString: @""]];
|
||||
}
|
||||
|
||||
- (IBAction) beginSheetForWindow: (NSWindow *) window
|
||||
|
|
Loading…
Reference in a new issue