From: Antti Villberg Date: Thu, 3 Aug 2017 06:57:36 +0000 (+0300) Subject: EXPERIMENT_STATE_READ needs to be triggered on state change X-Git-Tag: v1.31.0~264^2~7 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F800%2F2;p=simantics%2Fplatform.git EXPERIMENT_STATE_READ needs to be triggered on state change refs #7407 Change-Id: I3ea065b9b822980a183048de910714cbf9321716 --- diff --git a/bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/Experiment.java b/bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/Experiment.java index 41125d0a0..827677451 100644 --- a/bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/Experiment.java +++ b/bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/Experiment.java @@ -81,6 +81,7 @@ public abstract class Experiment implements IExperiment { localStateChange(); for(IExperimentListener listener : listeners.getListeners()) listener.stateChanged(newState); + EXPERIMENT_STATE_READ.run(); } }