From d2a894d674e592aaa6bfee512e8a52df81674000 Mon Sep 17 00:00:00 2001 From: orblazer Date: Tue, 15 Jun 2021 14:04:40 +0200 Subject: [PATCH] fix(config): use right state for pick color --- package/contents/ui/components/ColorSelector.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/contents/ui/components/ColorSelector.qml b/package/contents/ui/components/ColorSelector.qml index aceeb3d..6ea6d2e 100644 --- a/package/contents/ui/components/ColorSelector.qml +++ b/package/contents/ui/components/ColorSelector.qml @@ -31,11 +31,11 @@ RowLayout { } Button { onClicked: colorPicker.open() - enabled: checked + enabled: customized.checked implicitWidth: height * 2 background: Rectangle { - color: checked ? colorPicker.currentColor : defaultColor + color: customized.checked ? colorPicker.currentColor : defaultColor radius: 2 } }