trunk: Leopard: Fix bug with typing values in Inspector->Options

This commit is contained in:
Mitchell Livingston
2007-10-29 18:07:09 +00:00
parent 1c12dabaeb
commit 297b9f0b1d
5 changed files with 45 additions and 29 deletions

View File

@@ -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