Commit 265337b6 authored by David Redondo's avatar David Redondo 🏎
Browse files

Assign a new color when configuring sensor colors

For some weird reason what we did had the effect of getting a reference
to the color of the ColorDialog. So when changing a sensor color it
would change the colors of all sensor colors that where configured

(cherry picked from commit ed89bbf9)
parent cf77c8ce
......@@ -125,7 +125,7 @@ ColumnLayout {
currentColor: destinationSensor != "" ? controller.sensorColors[destinationSensor] : ""
onAccepted: {
cfg_sensorColors[destinationSensor] = color;
cfg_sensorColors[destinationSensor] = Qt.rgba(color.r, color.g, color.b, color.a);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment