Browse Source

Call onAction when clicking ParamWidgets.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
9ee9ef0352
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/app/ParamWidget.cpp

+ 5
- 0
src/app/ParamWidget.cpp View File

@@ -147,6 +147,11 @@ void ParamWidget::onButton(const event::Button &e) {
if (paramQuantity) {
APP->scene->rack->touchedParam = this;
}

// Call onAction
event::Action eAction;
onAction(eAction);

e.consume(this);
}



Loading…
Cancel
Save