From b484d2f07bac3542fc9e76b80a4d6c495191ed67 Mon Sep 17 00:00:00 2001 From: sirjonasxx <36828922+sirjonasxx@users.noreply.github.com> Date: Mon, 5 Nov 2018 20:33:56 +0100 Subject: [PATCH] oops --- G-Earth/src/main/java/gearth/ui/GEarthController.java | 3 ++- G-Earth/src/main/resources/gearth/ui/G-Earth.fxml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/G-Earth/src/main/java/gearth/ui/GEarthController.java b/G-Earth/src/main/java/gearth/ui/GEarthController.java index 878523e..27ceb3f 100644 --- a/G-Earth/src/main/java/gearth/ui/GEarthController.java +++ b/G-Earth/src/main/java/gearth/ui/GEarthController.java @@ -18,6 +18,7 @@ import gearth.ui.tools.Tools; public class GEarthController { public Tab tab_Settings; + public Tab tab_Logger; public TabPane tabBar; private Stage stage = null; private volatile HConnection hConnection; @@ -50,7 +51,7 @@ public class GEarthController { tabBar.getTabs().remove(tab_Settings); if (PacketLoggerFactory.usesUIlogger()) { - tabBar.getTabs().remove(loggerController); + tabBar.getTabs().remove(tab_Logger); } diff --git a/G-Earth/src/main/resources/gearth/ui/G-Earth.fxml b/G-Earth/src/main/resources/gearth/ui/G-Earth.fxml index 2fcdfaf..26bf3a3 100644 --- a/G-Earth/src/main/resources/gearth/ui/G-Earth.fxml +++ b/G-Earth/src/main/resources/gearth/ui/G-Earth.fxml @@ -15,7 +15,7 @@ - +