Hide pieces view if a single torrent is not selected.
This commit is contained in:
parent
7e846ba093
commit
ff499d0328
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue