Skip to content

Commit

Permalink
Merge pull request #6314 from Jojo-Schmitz/soundfont-case-insensitive
Browse files Browse the repository at this point in the history
Make the check for the soundfont name case insensitive
  • Loading branch information
anatoly-os committed Jul 9, 2020
2 parents ebdeaaa + bea9a4e commit 2b3fe80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/instrument.cpp
Expand Up @@ -823,7 +823,7 @@ void Channel::switchExpressive(Synthesizer* synth, bool expressive, bool force /
if (fontsInfo.empty())
return;
const auto& info = fontsInfo.front();
if (!info.fontName.contains("MuseScore_General")) {
if (!info.fontName.contains("MuseScore_General", Qt::CaseInsensitive)) {
qDebug().nospace() << "Soundfont '" << info.fontName << "' is not MuseScore General, cannot update expressive";
return;
}
Expand Down

0 comments on commit 2b3fe80

Please sign in to comment.