1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 13:16:53 +00:00

show pause button when checking (will work once encryption branch is merged)

This commit is contained in:
Mitchell Livingston 2007-09-11 03:49:03 +00:00
parent 446b397503
commit c351a19124

View file

@ -449,10 +449,7 @@
NSImage * pauseImage = nil;
NSRect pauseRect = [self pauseRectForRow: row];
if ([torrent isActive])
{
if (![torrent isChecking])
pauseImage = fClickIn && NSPointInRect(fClickPoint, pauseRect) ? fPauseOnIcon : fPauseOffIcon;
}
pauseImage = fClickIn && NSPointInRect(fClickPoint, pauseRect) ? fPauseOnIcon : fPauseOffIcon;
else if ([torrent isPaused])
{
BOOL inPauseRect = fClickIn && NSPointInRect(fClickPoint, pauseRect);