Merge PR #989: Fix color picker for interface based rule action

This commit is contained in:
jenkins 2023-03-08 23:16:22 +01:00
commit 0bbbd3de99

View File

@ -98,6 +98,7 @@ ItemDelegate {
}
return textFieldComponent;
case "color":
case "qcolor":
return colorPreviewComponent;
}
console.warn("Param Delegate: Fallback to stringComponent", root.paramType.name, root.paramType.type)
@ -114,6 +115,7 @@ ItemDelegate {
switch (root.paramType.type.toLowerCase()) {
case "color":
case "qcolor":
return colorPickerComponent
}
return null;