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-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F802%2F1;p=simantics%2Fplatform.git EXPERIMENT_STATE_READ needs to be triggered on state change refs #7407 Change-Id: I3ea065b9b822980a183048de910714cbf9321716 (cherry picked from commit 7ffbcb78ddb8c619bd5a88fbbcd6f079cc1684fc) --- 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(); } }