aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r--qmidiplayer-desktop/qmpchanneleditor.cpp1
-rw-r--r--qmidiplayer-desktop/qmppresetselect.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpchanneleditor.cpp b/qmidiplayer-desktop/qmpchanneleditor.cpp
index 445b68e..5343c1c 100644
--- a/qmidiplayer-desktop/qmpchanneleditor.cpp
+++ b/qmidiplayer-desktop/qmpchanneleditor.cpp
@@ -77,6 +77,7 @@ void qmpChannelEditor::sendCC()
player->setCC(ch,76,ui->dRate->value());
player->setCC(ch,77,ui->dDepth->value());
player->setCC(ch,78,ui->dDelay->value());
+ qmpMainWindow::getInstance()->invokeCallback("channel.ccchange",nullptr);
}
void qmpChannelEditor::showEvent(QShowEvent *e)
diff --git a/qmidiplayer-desktop/qmppresetselect.cpp b/qmidiplayer-desktop/qmppresetselect.cpp
index 8286053..8c28fe6 100644
--- a/qmidiplayer-desktop/qmppresetselect.cpp
+++ b/qmidiplayer-desktop/qmppresetselect.cpp
@@ -102,6 +102,7 @@ void qmpPresetSelector::on_pbOk_clicked()
else if(s=="CC#0")b<<=7;
plyr->setChannelPreset(ch,b,p);
}
+ qmpMainWindow::getInstance()->invokeCallback("preset.set",nullptr);
close();
}