Commit c54465c5 authored by Nico Mack's avatar Nico Mack

Evalute fires inputChanged only if dependent variable was modified.

parent c5bd7d43
......@@ -148,7 +148,9 @@ public class Equation {
if (!isolated && consolidated && consolidatedListeners != null) {
for (Entry<InputChangeListener, Variable<?>> entry : consolidatedListeners.entrySet()) {
entry.getKey().inputChanged(new InputEvent(entry.getValue()));
if (entry.getValue().wasModified(false)) {
entry.getKey().inputChanged(new InputEvent(entry.getValue()));
}
}
}
......
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