From 548712d710a3887ab0aeaf49f9cf29264604e5bf Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Wed, 8 Mar 2023 21:46:49 +0100 Subject: [PATCH] Fix color picker for interface based rule action Fixes #988 --- nymea-app/ui/delegates/ParamDelegate.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nymea-app/ui/delegates/ParamDelegate.qml b/nymea-app/ui/delegates/ParamDelegate.qml index cdad3091..a68dd94a 100644 --- a/nymea-app/ui/delegates/ParamDelegate.qml +++ b/nymea-app/ui/delegates/ParamDelegate.qml @@ -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;