From bf860df8eaeb9a3efc9bab8711ed5ec3db165c0b Mon Sep 17 00:00:00 2001 From: Thibault Martin Date: Sat, 14 Feb 2026 14:24:38 +0100 Subject: [PATCH] Change NColorChoice default label and description --- .../Panels/Settings/Bar/WidgetSettings/BluetoothSettings.qml | 2 -- Widgets/NColorChoice.qml | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Modules/Panels/Settings/Bar/WidgetSettings/BluetoothSettings.qml b/Modules/Panels/Settings/Bar/WidgetSettings/BluetoothSettings.qml index 876057c7e..5c8af49a8 100644 --- a/Modules/Panels/Settings/Bar/WidgetSettings/BluetoothSettings.qml +++ b/Modules/Panels/Settings/Bar/WidgetSettings/BluetoothSettings.qml @@ -54,13 +54,11 @@ ColumnLayout { NColorChoice { label: I18n.tr("common.select-icon-color") - description: I18n.tr("common.select-color-description") currentKey: valueIconColor onSelected: key => { valueIconColor = key; saveSettings(); } - minimumWidth: 200 } NComboBox { diff --git a/Widgets/NColorChoice.qml b/Widgets/NColorChoice.qml index 95c93df75..fc3b8a23d 100644 --- a/Widgets/NColorChoice.qml +++ b/Widgets/NColorChoice.qml @@ -6,13 +6,12 @@ RowLayout { id: root property real minimumWidth: 200 - property string label: "" - property string description: "" + property string label: I18n.tr("common.select-color") + property string description: I18n.tr("common.select-color-description") property string tooltip: "" property string currentKey: "" property var defaultValue: "none" property int circleSize: Style.baseWidgetSize * 0.9 - readonly property bool isValueChanged: currentKey !== defaultValue readonly property string indicatorTooltip: { I18n.tr("panels.indicator.default-value", {