Fix color picker for interface based rule action

Fixes #988
This commit is contained in:
Michael Zanetti 2023-03-08 21:46:49 +01:00
parent d8273dd161
commit 548712d710

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;