From 8ffb2265bc33e2bcf22381b95627c53e479917f4 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 23 Sep 2018 11:40:02 +0200 Subject: [PATCH] PluginEdit: always show keyboard if midi-ins > 0 --- source/frontend/carla_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/frontend/carla_widgets.py b/source/frontend/carla_widgets.py index b2317cb5e..dba5c1357 100755 --- a/source/frontend/carla_widgets.py +++ b/source/frontend/carla_widgets.py @@ -770,7 +770,7 @@ class PluginEdit(QDialog): self.ui.sw_programs.setCurrentIndex(0 if self.fPluginInfo['type'] in (PLUGIN_VST2, PLUGIN_SFZ) else 1) # Show/hide keyboard - showKeyboard = (self.fPluginInfo['category'] == PLUGIN_CATEGORY_SYNTH or midiCountInfo['ins'] > 0 < midiCountInfo['outs']) + showKeyboard = (self.fPluginInfo['category'] == PLUGIN_CATEGORY_SYNTH or midiCountInfo['ins'] > 0) self.ui.scrollArea.setEnabled(showKeyboard) self.ui.scrollArea.setVisible(showKeyboard)