aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop
diff options
context:
space:
mode:
authornjanssen <[email protected]>2020-09-24 21:44:26 +0200
committernjanssen <[email protected]>2020-09-24 21:44:26 +0200
commitdea3c8e325a4262a3141b8c56dac346a041712b6 (patch)
treee4f1ec61e65780db445f120bcfd4e65dfd7797ef /desktop
parentd082282681e1fc6610950bac274251f5f4314745 (diff)
downloadOrca-dea3c8e325a4262a3141b8c56dac346a041712b6.tar.gz
Orca-dea3c8e325a4262a3141b8c56dac346a041712b6.zip
Calling selectInput function after manually switching to next MIDI input to correctly refresh MIDI message handler when no MIDI input was selected at startup
Diffstat (limited to 'desktop')
-rw-r--r--desktop/sources/scripts/core/io/midi.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/sources/scripts/core/io/midi.js b/desktop/sources/scripts/core/io/midi.js
index d5fb1d7..a0574dd 100644
--- a/desktop/sources/scripts/core/io/midi.js
+++ b/desktop/sources/scripts/core/io/midi.js
@@ -177,6 +177,7 @@ function Midi (client) {
this.selectNextInput = () => {
this.inputIndex = this.inputIndex < this.inputs.length ? this.inputIndex + 1 : 0
+ this.selectInput(this.inputIndex)
client.update()
}