From d6dee6a2be4b92aa5e0520e20ab3a6dcbb5893ce Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Wed, 24 May 2023 02:48:35 +0200 Subject: [PATCH] Fixing color picker not working --- .../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml index c5e2918..81374d4 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml @@ -199,9 +199,9 @@ Item { title: qsTr("Pick new color for %1 %2").arg(obj.constructor.displayType()).arg(obj.name) onAccepted: { history.addToHistory(new HistoryLib.ColorChanged( - obj.name, obj.type, obj.color, color.toString() + obj.name, obj.type, obj.color, selectedColor.toString() )) - obj.color = color.toString() + obj.color = selectedColor.toString() changed() } }