diff options
author | Chris Xiong <chirs241097@gmail.com> | 2020-01-31 23:23:13 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2020-01-31 23:23:13 +0800 |
commit | 24e9b335f0414428512eb9d61661b88d906448a5 (patch) | |
tree | 6b4ea84c183c7c3779a70b3dd22b9823eb8cc59e /qmidiplayer-desktop | |
parent | 63224bf7ac365b428e5115fc6ef6339a0b40c9fa (diff) | |
download | QMidiPlayer-24e9b335f0414428512eb9d61661b88d906448a5.tar.xz |
Simple visualization now reflects changes made in preset selection and channel editor dialog.0.8.7-0
Documentation update.
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r-- | qmidiplayer-desktop/qmpchanneleditor.cpp | 1 | ||||
-rw-r--r-- | qmidiplayer-desktop/qmppresetselect.cpp | 1 |
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(); } |