Browse Source

PluginEdit: always show keyboard if midi-ins > 0

tags/v2.1-alpha1-winvst
falkTX 6 years ago
parent
commit
8ffb2265bc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/frontend/carla_widgets.py

+ 1
- 1
source/frontend/carla_widgets.py View File

@@ -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)



Loading…
Cancel
Save