Commit fd2ef301 authored by Grégory JANISZEWSKI's avatar Grégory JANISZEWSKI

Fix wrong id name that create confusion in QML logic.

* Using "io" as qml id create confusion in enable or color logic.
Certainly due to qml scope.
parent a8d31d64
......@@ -3,7 +3,7 @@ import QtQmlTricks.UiElements 2.0;
import QtCAN.CanTestBench 2.0;
Circle {
id: io;
id: base;
size: (Style.spacingNormal * 2.5);
color: (io ? (io.value ? Style.colorSelection : Style.colorWindow) : Style.colorNone);
enabled: (io !== null);
......
Markdown is supported
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