mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
work around for small bug in apple code
This commit is contained in:
@@ -123,6 +123,7 @@
|
||||
int bindPort = [fDefaults integerForKey: @"BindPort"];
|
||||
[fPortField setIntValue: bindPort];
|
||||
tr_setBindPort(fHandle, bindPort);
|
||||
|
||||
[self updatePortStatus];
|
||||
|
||||
//set NAT
|
||||
@@ -893,6 +894,10 @@
|
||||
- (void) showNetworkPref: (id) sender
|
||||
{
|
||||
[self setPrefView: fNetworkView];
|
||||
|
||||
//get around bug in apple code
|
||||
if ([fPortStatusImage image])
|
||||
[fPortStatusProgress setDisplayedWhenStopped: NO];
|
||||
}
|
||||
|
||||
- (void) setPrefView: (NSView *) view
|
||||
|
||||
Reference in New Issue
Block a user