diff --git a/mea/ui/delegates/ParamDescriptorDelegate.qml b/mea/ui/delegates/ParamDescriptorDelegate.qml index 904fa029..b90d938d 100644 --- a/mea/ui/delegates/ParamDescriptorDelegate.qml +++ b/mea/ui/delegates/ParamDescriptorDelegate.qml @@ -159,7 +159,7 @@ ItemDelegate { ComboBox { model: paramType.allowedValues onCurrentIndexChanged: { - root.value = paramType.allowedValues[index] + root.value = paramType.allowedValues[currentIndex] } } } diff --git a/mea/ui/magic/SelectEventDescriptorParamsPage.qml b/mea/ui/magic/SelectEventDescriptorParamsPage.qml index 6f4ac5e8..f84c42fe 100644 --- a/mea/ui/magic/SelectEventDescriptorParamsPage.qml +++ b/mea/ui/magic/SelectEventDescriptorParamsPage.qml @@ -64,7 +64,6 @@ Page { for (var i = 0; i < delegateRepeater.count; i++) { var paramDelegate = delegateRepeater.itemAt(i); if (paramDelegate.considerParam) { - print("setting param descriptor to", paramDelegate.operatorType) root.eventDescriptor.paramDescriptors.setParamDescriptor(paramDelegate.paramType.id, paramDelegate.value, paramDelegate.operatorType) } }