mirror of
https://github.com/transmission/transmission
synced 2025-03-05 11:08:04 +00:00
fix: "Open Torrent Address" not remembering previous address (#4461)
This commit is contained in:
parent
53f5a33616
commit
3777796ce2
1 changed files with 0 additions and 11 deletions
|
@ -16,8 +16,6 @@
|
|||
|
||||
@implementation URLSheetWindowController
|
||||
|
||||
NSString* urlString = nil;
|
||||
|
||||
- (instancetype)init
|
||||
{
|
||||
self = [self initWithWindowNibName:@"URLSheetWindow"];
|
||||
|
@ -27,15 +25,6 @@ NSString* urlString = nil;
|
|||
- (void)awakeFromNib
|
||||
{
|
||||
self.fLabelField.stringValue = NSLocalizedString(@"Internet address of torrent file:", "URL sheet label");
|
||||
|
||||
if (self.urlString)
|
||||
{
|
||||
self.fTextField.stringValue = self.urlString;
|
||||
[self.fTextField selectText:self];
|
||||
|
||||
[self updateOpenButtonForURL:self.urlString];
|
||||
}
|
||||
|
||||
self.fOpenButton.title = NSLocalizedString(@"Open", "URL sheet button");
|
||||
self.fCancelButton.title = NSLocalizedString(@"Cancel", "URL sheet button");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue