diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-03-27 22:17:22 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-03-27 22:17:22 -0700 |
commit | 55c7fddb046658878522a00bf3b0d5bfab22b969 (patch) | |
tree | c55f6b532b3dec6c0a2d60fc7b4ed5351d029b58 | |
parent | 5ad11fad251cce033b54abd1e79c12a540630b24 (diff) | |
download | dsub-55c7fddb046658878522a00bf3b0d5bfab22b969.tar.gz dsub-55c7fddb046658878522a00bf3b0d5bfab22b969.tar.bz2 dsub-55c7fddb046658878522a00bf3b0d5bfab22b969.zip |
If album exists, display it (for multi-disc albums)
-rw-r--r-- | src/github/daneren2005/dsub/view/AlbumView.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/view/AlbumView.java b/src/github/daneren2005/dsub/view/AlbumView.java index 3d0eb382..be13aa5c 100644 --- a/src/github/daneren2005/dsub/view/AlbumView.java +++ b/src/github/daneren2005/dsub/view/AlbumView.java @@ -70,7 +70,11 @@ public class AlbumView extends UpdateView { protected void setObjectImpl(Object obj1, Object obj2) { this.album = (MusicDirectory.Entry) obj1; - titleView.setText(album.getTitle()); + if(album.getAlbum() == null) { + titleView.setText(album.getTitle()); + } else { + titleView.setText(album.getAlbum()); + } String artist = album.getArtist(); if(artist == null) { artist = ""; |