Skip to content

Commit

Permalink
controlpickermenu: extend 'unlearnable control' error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Oct 22, 2020
1 parent 4ea86d1 commit 82e9fdf
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/controllers/dlgcontrollerlearning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,13 +466,18 @@ void DlgControllerLearning::controlClicked(ControlObject* pControl) {
qWarning() << "Mixxx UI element clicked for which there is no "
"learnable control " << key.group << " " << key.item;
QMessageBox::warning(
this,
Version::applicationName(),
tr("The control you clicked in Mixxx is not learnable.\n"
"This could be because you are using an old skin"
" and this control is no longer supported.\n"
"\nYou tried to learn: %1,%2").arg(key.group, key.item),
QMessageBox::Ok, QMessageBox::Ok);
this,
Version::applicationName(),
tr("The control you clicked in Mixxx is not learnable.\n"
"This could be because you are either using an old skin"
" and this control is no longer supported, "
"or you clicked a control that provides visual feedback"
" and can only be mapped to outputs like LEDs via"
" scripts.\n"
"\nYou tried to learn: %1,%2")
.arg(key.group, key.item),
QMessageBox::Ok,
QMessageBox::Ok);
return;
}
controlPicked(key);
Expand Down

0 comments on commit 82e9fdf

Please sign in to comment.