summaryrefslogtreecommitdiff
path: root/sources/simulator/VSSimulatorFrame.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-21 01:54:06 +0000
committerPaul Buetow <paul@buetow.org>2008-05-21 01:54:06 +0000
commit6059b54e23e742db068da5e4a53b8b1b046db121 (patch)
tree72e51fefd35efe5d013d16b4ac26240d7216660f /sources/simulator/VSSimulatorFrame.java
parent8d5c21477617e4d08bd098069c7628830675abb7 (diff)
Introduced a new VSEditorFrame.
No more need for the VSProtcolEditor!
Diffstat (limited to 'sources/simulator/VSSimulatorFrame.java')
-rw-r--r--sources/simulator/VSSimulatorFrame.java3
1 files changed, 2 insertions, 1 deletions
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);