mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-19 04:50:16 +01:00
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
Block a user