From: Daniel Kirschten Date: Thu, 26 Sep 2019 18:40:14 +0000 (+0200) Subject: A machine change now leaves user-defined sim speeds intact X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=82ec13e2acd627b132c868591ef20bb9cb0a2fc1;p=Mograsim.git A machine change now leaves user-defined sim speeds intact --- diff --git a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/editors/SimulationViewEditor.java b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/editors/SimulationViewEditor.java index 91a03979..31dd8995 100644 --- a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/editors/SimulationViewEditor.java +++ b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/editors/SimulationViewEditor.java @@ -160,7 +160,7 @@ public class SimulationViewEditor extends EditorPart // initialize executer exec = new LogicExecuter(machine.getTimeline()); - updateSpeedFactorFromScale(); + updateSpeedFactorFromInput(simSpeedInput.getValue()); updatePausedState(); exec.startLiveExecution(); } else