From 834039c4d403b30f554f4c0e722cdc65c9d60f89 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 22 Oct 2023 13:25:00 +0200 Subject: [PATCH] Consolidate Item Generation Fix Back arrow in element gui --- .../features/simulator2/gui/SimulatorGroupChooserGui.java | 1 + 1 file changed, 1 insertion(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/simulator2/gui/SimulatorGroupChooserGui.java b/BauSystem_Main/src/de/steamwar/bausystem/features/simulator2/gui/SimulatorGroupChooserGui.java index 8cecb246..503feb86 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/simulator2/gui/SimulatorGroupChooserGui.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/simulator2/gui/SimulatorGroupChooserGui.java @@ -54,6 +54,7 @@ public class SimulatorGroupChooserGui extends SimulatorPageGui { SimulatorGroup newParent = new SimulatorGroup(); newParent.add(subject); simulator.getElements().add(newParent); + parent.getElements().remove(subject); back.open(); SimulatorWatcher.update(simulator); }));