]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
EXPERIMENT_STATE_READ needs to be triggered on state change 02/802/1
authorAntti Villberg <antti.villberg@semantum.fi>
Thu, 3 Aug 2017 06:57:36 +0000 (09:57 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 3 Aug 2017 13:55:44 +0000 (16:55 +0300)
refs #7407

Change-Id: I3ea065b9b822980a183048de910714cbf9321716
(cherry picked from commit 7ffbcb78ddb8c619bd5a88fbbcd6f079cc1684fc)

bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/Experiment.java

index 41125d0a0ad2f086cb90201c05f15c432d8bebcc..827677451ab3d33d067e466f9db829869a3ad8a1 100644 (file)
@@ -81,6 +81,7 @@ public abstract class Experiment implements IExperiment {
             localStateChange();
             for(IExperimentListener listener : listeners.getListeners())
                 listener.stateChanged(newState);
+            EXPERIMENT_STATE_READ.run();
         }
     }