Changeset 878
- Timestamp:
- Sep 22, 2006, 1:09:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nat-traversal/macosx/TorrentTableView.m
r729 r878 122 122 Torrent * torrent = [fTorrents objectAtIndex: row]; 123 123 124 if ([torrent isPaused]) 124 if ([torrent isActive] || ([torrent isPaused] && [torrent waitingToStart])) 125 [fController stopTorrents: [NSArray arrayWithObject: torrent]]; 126 else if ([torrent isPaused]) 125 127 [fController resumeTorrents: [NSArray arrayWithObject: torrent]]; 126 else if ([torrent isActive])127 [fController stopTorrents: [NSArray arrayWithObject: torrent]];128 128 else; 129 129 } … … 224 224 rect = [self pauseRectForRow: i]; 225 225 226 if ([torrent isPaused]) 226 if ([torrent isActive] || ([torrent isPaused] && [torrent waitingToStart])) 227 image = NSPointInRect(fClickPoint, rect) ? fPauseOnIcon : fPauseOffIcon; 228 else if ([torrent isPaused]) 227 229 image = NSPointInRect(fClickPoint, rect) ? fResumeOnIcon : fResumeOffIcon; 228 else if ([torrent isActive])229 image = NSPointInRect(fClickPoint, rect) ? fPauseOnIcon : fPauseOffIcon;230 230 else 231 231 image = nil;
Note: See TracChangeset
for help on using the changeset viewer.