Require only one of title and track to match search results

This commit is contained in:
Martchus 2019-05-31 13:55:36 +02:00
parent d2a51ad473
commit 208c90ef42
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ void DbQueryWidget::applyMatchingResults(TagEdit *tagEdit)
const auto givenArtist = tagEdit->value(KnownField::Artist);
const auto givenTrack = tagEdit->trackNumber();
if (givenTitle.isEmpty() || !givenTrack) {
if (givenTitle.isEmpty() && !givenTrack) {
return;
}