diff --git a/controllersetup.cpp b/controllersetup.cpp index 336a3cb..fc0da28 100644 --- a/controllersetup.cpp +++ b/controllersetup.cpp @@ -122,7 +122,6 @@ void controllerSetup::mousePressed(QPoint p) offEvent->hide(); knobEvent->hide(); } - } void controllerSetup::onEventIndexChanged(int index) { @@ -133,7 +132,7 @@ void controllerSetup::onEventIndexChanged(int index) { currentButton->onCommand = &commands->at(onEvent->currentData().toInt()); currentButton->onText->setPlainText(currentButton->onCommand->text); } - + emit programButtons(); // Signal that any button programming on the device should be completed. } @@ -144,6 +143,7 @@ void controllerSetup::offEventIndexChanged(int index) { currentButton->offCommand = &commands->at(offEvent->currentData().toInt()); currentButton->offText->setPlainText(currentButton->offCommand->text); } + emit programButtons(); // Signal that any button programming on the device should be completed. } void controllerSetup::knobEventIndexChanged(int index) { @@ -153,6 +153,7 @@ void controllerSetup::knobEventIndexChanged(int index) { currentKnob->command = &commands->at(knobEvent->currentData().toInt()); currentKnob->text->setPlainText(currentKnob->command->text); } + emit programButtons(); // Signal that any button programming on the device should be completed. } @@ -163,7 +164,7 @@ void controllerSetup::newDevice(unsigned char devType, QVector