Hide pieces view if a single torrent is not selected.

This commit is contained in:
Mitchell Livingston 2006-09-27 19:16:34 +00:00
parent 7e846ba093
commit ff499d0328
2 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,8 @@
fBlue3Piece = [NSImage imageNamed: @"BoxBlue3.tiff"];
[fBlue3Piece setScalesWhenResized: YES];
[fBlue3Piece setSize: size];
[self setTorrent: nil];
}
return self;
@ -97,6 +99,8 @@
[self updateView: YES];
}
[fImageView setHidden: torrent == nil];
}
- (void) updateView: (BOOL) first