mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
Hide pieces view if a single torrent is not selected.
This commit is contained in:
parent
7e846ba093
commit
ff499d0328
2 changed files with 4 additions and 0 deletions
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -48,6 +48,8 @@
|
||||||
fBlue3Piece = [NSImage imageNamed: @"BoxBlue3.tiff"];
|
fBlue3Piece = [NSImage imageNamed: @"BoxBlue3.tiff"];
|
||||||
[fBlue3Piece setScalesWhenResized: YES];
|
[fBlue3Piece setScalesWhenResized: YES];
|
||||||
[fBlue3Piece setSize: size];
|
[fBlue3Piece setSize: size];
|
||||||
|
|
||||||
|
[self setTorrent: nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
@ -97,6 +99,8 @@
|
||||||
|
|
||||||
[self updateView: YES];
|
[self updateView: YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[fImageView setHidden: torrent == nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) updateView: (BOOL) first
|
- (void) updateView: (BOOL) first
|
||||||
|
|
Loading…
Reference in a new issue