1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-27 07:46:19 +01:00

Show engine switch warning only if more than 1

This commit is contained in:
Jonas Kvinge 2018-07-03 20:36:38 +02:00
parent 602f9759bb
commit c818ce19e9

View File

@ -121,7 +121,7 @@ void BackendSettingsPage::Load() {
}
else {
ui_->combobox_engine->setEnabled(false);
ShowWarning("Engine can't be switched while playing. Close settings and reopen to change engine.");
if (ui_->combobox_engine->count() > 1) ShowWarning("Engine can't be switched while playing. Close settings and reopen to change engine.");
}
ConnectSignals();