diff options
| -rw-r--r-- | ROADMAP | 4 | ||||
| -rw-r--r-- | sources/simulator/VSSimulation.java | 7 |
2 files changed, 7 insertions, 4 deletions
@@ -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); |
