|
@@ -388,7 +388,7 @@ class PluginParameter(QWidget): |
|
|
actCCs.append(action) |
|
|
actCCs.append(action) |
|
|
|
|
|
|
|
|
if self.fMappedCtrl >= 0 and self.fMappedCtrl <= MAX_MIDI_CC_LIST_ITEM: |
|
|
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: |
|
|
if ccx > self.fMappedCtrl and not inlist: |
|
|
inlist = True |
|
|
inlist = True |
|
@@ -484,7 +484,7 @@ class PluginParameter(QWidget): |
|
|
elif actSel == actCV: |
|
|
elif actSel == actCV: |
|
|
ctrl = CONTROL_VALUE_CV |
|
|
ctrl = CONTROL_VALUE_CV |
|
|
elif actSel in actCCs: |
|
|
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: |
|
|
elif actSel == actCustomCC: |
|
|
ctrl, ok = QInputDialog.getInt(self, |
|
|
ctrl, ok = QInputDialog.getInt(self, |
|
|
self.tr("Custom CC"), |
|
|
self.tr("Custom CC"), |
|
|