uncheck "delete original" when unchecking "copy torrent"

This commit is contained in:
Mitchell Livingston 2006-10-29 17:38:57 +00:00
parent 52841c94b9
commit c3992fde5e
4 changed files with 9 additions and 2 deletions

View File

@ -14,6 +14,7 @@
setAutoSpeedLimitCheck = id;
setAutoSpeedLimitHour = id;
setBadge = id;
setCopyTorrents = id;
setDownloadLocation = id;
setNat = id;
setPort = id;

View File

@ -66,6 +66,8 @@
- (void) setQueueNumber: (id) sender;
- (void) setCopyTorrents: (id) sender;
- (void) setDownloadLocation: (id) sender;
- (void) folderSheetShow: (id) sender;

View File

@ -321,7 +321,6 @@
[[NSNotificationCenter defaultCenter] postNotificationName: @"AutoSpeedLimitChange" object: self];
}
#warning check if same value
- (void) setAutoSpeedLimitHour: (id) sender
{
[[NSNotificationCenter defaultCenter] postNotificationName: @"AutoSpeedLimitChange" object: self];
@ -367,12 +366,17 @@
[fUpdater scheduleCheckWithInterval: seconds];
}
#warning out of range/wrong value
- (void) setQueueNumber: (id) sender
{
[[NSNotificationCenter defaultCenter] postNotificationName: @"GlobalStartSettingChange" object: self];
}
- (void) setCopyTorrents: (id) sender
{
if (![fDefaults boolForKey: @"SavePrivateTorrent"])
[fDefaults setBool: NO forKey: @"DeleteOriginalTorrent"];
}
- (void) setDownloadLocation: (id) sender
{
//download folder