Commit 68a3f16a authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Typo in Links validation

parent 54eb5496
......@@ -1177,7 +1177,7 @@ void Manager::doBuildChains (void) {
}
}
}
if (AnalogInput * input = qobject_cast<AnalogInput *> (link->get_source ())) {
if (AnalogInput * input = qobject_cast<AnalogInput *> (link->get_target ())) {
if (Node * node = nodeForIO.value (input)) {
if (inactiveNodes.contains (node)) {
enabled = false;
......@@ -1203,7 +1203,7 @@ void Manager::doBuildChains (void) {
}
}
}
if (DigitalInput * input = qobject_cast<DigitalInput *> (link->get_source ())) {
if (DigitalInput * input = qobject_cast<DigitalInput *> (link->get_target ())) {
if (Node * node = nodeForIO.value (input)) {
if (inactiveNodes.contains (node)) {
enabled = false;
......
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