From 6059b54e23e742db068da5e4a53b8b1b046db121 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 21 May 2008 01:54:06 +0000 Subject: Introduced a new VSEditorFrame. No more need for the VSProtcolEditor! --- sources/simulator/VSSimulatorFrame.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sources/simulator/VSSimulatorFrame.java') diff --git a/sources/simulator/VSSimulatorFrame.java b/sources/simulator/VSSimulatorFrame.java index e27f896..37c0900 100644 --- a/sources/simulator/VSSimulatorFrame.java +++ b/sources/simulator/VSSimulatorFrame.java @@ -203,7 +203,8 @@ public class VSSimulatorFrame extends VSFrame implements ActionListener { removeCurrentSimulation(); } else if (source.getText().equals(prefs.getString("lang.simulation.new"))) { - new VSSimulationEditor(VSDefaultPrefs.init(), this); + VSPrefs newPrefs = VSDefaultPrefs.init(); + new VSEditorFrame(newPrefs, this, new VSSimulationEditor(newPrefs, this)); } else if (source.getText().equals(prefs.getString("lang.window.new"))) { new VSMain(VSDefaultPrefs.init(), this); -- cgit v1.2.3