Merge PR #989: Fix color picker for interface based rule action
This commit is contained in:
commit
0bbbd3de99
@ -98,6 +98,7 @@ ItemDelegate {
|
|||||||
}
|
}
|
||||||
return textFieldComponent;
|
return textFieldComponent;
|
||||||
case "color":
|
case "color":
|
||||||
|
case "qcolor":
|
||||||
return colorPreviewComponent;
|
return colorPreviewComponent;
|
||||||
}
|
}
|
||||||
console.warn("Param Delegate: Fallback to stringComponent", root.paramType.name, root.paramType.type)
|
console.warn("Param Delegate: Fallback to stringComponent", root.paramType.name, root.paramType.type)
|
||||||
@ -114,6 +115,7 @@ ItemDelegate {
|
|||||||
|
|
||||||
switch (root.paramType.type.toLowerCase()) {
|
switch (root.paramType.type.toLowerCase()) {
|
||||||
case "color":
|
case "color":
|
||||||
|
case "qcolor":
|
||||||
return colorPickerComponent
|
return colorPickerComponent
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user