summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP4
-rw-r--r--sources/simulator/VSSimulation.java7
2 files changed, 7 insertions, 4 deletions
diff --git a/ROADMAP b/ROADMAP
index 7a0185c..aad7f96 100644
--- a/ROADMAP
+++ b/ROADMAP
@@ -1,9 +1,9 @@
TODO:
+Icon Toolbar
Slow-Motion
-Einfacher vs. erweiterter Modus
-Prozesse hinzufuegen/loeschen koennen
Neuen Protokolleditor bauen
+Prozesse hinzufuegen/loeschen koennen
"Himmelobjekt"
Periodische Tasks anlegen koennen
diff --git a/sources/simulator/VSSimulation.java b/sources/simulator/VSSimulation.java
index 4751f4a..fcdff39 100644
--- a/sources/simulator/VSSimulation.java
+++ b/sources/simulator/VSSimulation.java
@@ -899,8 +899,11 @@ public class VSSimulation extends JPanel {
tabbedPane.setSelectedIndex(selectedIndex);
/* Update the 'Variables tab' */
-
-
+ if (getSelectedProcessNum() != simulationCanvas.getNumProcesses()) {
+ VSProcess process = getSelectedProcess();
+ VSProcessEditor editor = new VSProcessEditor(prefs, process);
+ tabbedPane.setComponentAt(1, editor.getContentPane());
+ }
/* Update the tools panel */
loggingPanel.remove(1);