Commit df6b9ce0 authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Fix details dialogs for output I/Os

parent 1b60dd3d
......@@ -125,11 +125,11 @@ AbstractDialogDetailsIO {
clickable: (aout && aout.link && aout.link.target);
anchors.baseline: lblLinkedActuator.baseline;
onClicked: {
if (aout.link.source.family === ObjectFamily.ACTUATOR) {
if (aout.link.target.family === ObjectFamily.ACTUATOR) {
highlightActuator = null;
highlightActuator = aout.link.target;
}
else if (aout.link.source.family === ObjectFamily.IO) {
else if (aout.link.target.family === ObjectFamily.IO) {
highlightIO = null;
highlightIO = aout.link.target;
}
......
......@@ -57,11 +57,11 @@ AbstractDialogDetailsIO {
clickable: (dout && dout.link && dout.link.target);
anchors.baseline: lblLinkedActuator.baseline;
onClicked: {
if (dout.link.source.family === ObjectFamily.ACTUATOR) {
if (dout.link.target.family === ObjectFamily.ACTUATOR) {
highlightActuator = null;
highlightActuator = dout.link.target;
}
else if (dout.link.source.family === ObjectFamily.IO) {
else if (dout.link.target.family === ObjectFamily.IO) {
highlightIO = null;
highlightIO = dout.link.target;
}
......
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