|
|
@@ -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], 16) |
|
|
|
ccx = int(cc.split(" [", 1)[0], 10) |
|
|
|
|
|
|
|
if ccx > self.fMappedCtrl and not inlist: |
|
|
|
inlist = True |
|
|
@@ -484,7 +484,7 @@ class PluginParameter(QWidget): |
|
|
|
elif actSel == actCV: |
|
|
|
ctrl = CONTROL_VALUE_CV |
|
|
|
elif actSel in actCCs: |
|
|
|
ctrl = int(actSel.text().split(" ", 1)[0].replace("&",""), 16) |
|
|
|
ctrl = int(actSel.text().split(" ", 1)[0].replace("&",""), 10) |
|
|
|
elif actSel == actCustomCC: |
|
|
|
ctrl, ok = QInputDialog.getInt(self, |
|
|
|
self.tr("Custom CC"), |
|
|
|