Browse Source

Fix MIDI CC assignment showing wrong selected value (base 16 vs 10)

Fixes #1018

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc2
falkTX 4 years ago
parent
commit
ce0cac7d62
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
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

@@ -388,7 +388,7 @@ class PluginParameter(QWidget):
actCCs.append(action)

if self.fMappedCtrl >= 0 and self.fMappedCtrl <= MAX_MIDI_CC_LIST_ITEM:
ccx = int(cc.split(" [", 1)[0])
ccx = int(cc.split(" [", 1)[0], 16)

if ccx > self.fMappedCtrl and not inlist:
inlist = True


Loading…
Cancel
Save