Sanity check
This commit is contained in:
parent
b716f802f3
commit
c7b0c02800
|
@ -1691,7 +1691,10 @@ void MainWindow::ShowInLibrary() {
|
|||
break;
|
||||
}
|
||||
}
|
||||
QString search = "artist:"+songs[0].artist()+" album:"+songs[0].album();
|
||||
QString search;
|
||||
if (!songs.isEmpty()) {
|
||||
search = "artist:" + songs.first().artist() + " album:" + songs.first().album();
|
||||
}
|
||||
library_view_->filter()->ShowInLibrary(search);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue