mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
Hide pieces view if a single torrent is not selected.
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user