mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
trunk: Leopard: Fix bug with typing values in Inspector->Options
This commit is contained in:
@@ -417,7 +417,7 @@
|
||||
|
||||
[fMenuTorrent setSpeedMode: mode upload: [sender menu] == fUploadMenu];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateStats" object: nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateOptions" object: nil];
|
||||
}
|
||||
|
||||
- (void) setQuickLimit: (id) sender
|
||||
@@ -426,7 +426,7 @@
|
||||
[fMenuTorrent setSpeedMode: TR_SPEEDLIMIT_SINGLE upload: upload];
|
||||
[fMenuTorrent setSpeedLimit: [[sender title] intValue] upload: upload];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateStats" object: nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateOptions" object: nil];
|
||||
}
|
||||
|
||||
- (void) setQuickRatioMode: (id) sender
|
||||
@@ -449,7 +449,7 @@
|
||||
|
||||
[fMenuTorrent setRatioSetting: mode];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateStats" object: nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateOptions" object: nil];
|
||||
}
|
||||
|
||||
- (void) setQuickRatio: (id) sender
|
||||
@@ -457,7 +457,7 @@
|
||||
[fMenuTorrent setRatioSetting: NSOnState];
|
||||
[fMenuTorrent setRatioLimit: [[sender title] floatValue]];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateStats" object: nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateOptions" object: nil];
|
||||
}
|
||||
|
||||
- (void) checkFile: (id) sender
|
||||
|
||||
Reference in New Issue
Block a user