mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-28 15:32:40 -04:00
fixed a visualization bug if tests are run while model is running
This commit is contained in:
parent
89a726dc25
commit
094dbb6220
@ -556,7 +556,7 @@ public class Main extends JFrame implements ClosingWindowListener.ConfirmSave, E
|
|||||||
|
|
||||||
windowPosManager.register("testresult", new TestResultDialog(Main.this, tsl, circuitComponent.getCircuit(), library)).setVisible(true);
|
windowPosManager.register("testresult", new TestResultDialog(Main.this, tsl, circuitComponent.getCircuit(), library)).setVisible(true);
|
||||||
|
|
||||||
circuitComponent.getCircuit().clearState();
|
elementState.enter();
|
||||||
} catch (Exception e1) {
|
} catch (Exception e1) {
|
||||||
showErrorAndStopModel(Lang.get("msg_runningTestError"), e1);
|
showErrorAndStopModel(Lang.get("msg_runningTestError"), e1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user