This commit is contained in:
sirjonasxx 2018-11-05 20:33:56 +01:00
parent 1655ce1d01
commit b484d2f07b
2 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@ import gearth.ui.tools.Tools;
public class GEarthController { public class GEarthController {
public Tab tab_Settings; public Tab tab_Settings;
public Tab tab_Logger;
public TabPane tabBar; public TabPane tabBar;
private Stage stage = null; private Stage stage = null;
private volatile HConnection hConnection; private volatile HConnection hConnection;
@ -50,7 +51,7 @@ public class GEarthController {
tabBar.getTabs().remove(tab_Settings); tabBar.getTabs().remove(tab_Settings);
if (PacketLoggerFactory.usesUIlogger()) { if (PacketLoggerFactory.usesUIlogger()) {
tabBar.getTabs().remove(loggerController); tabBar.getTabs().remove(tab_Logger);
} }

View File

@ -15,7 +15,7 @@
<Tab text="Connection"> <Tab text="Connection">
<fx:include fx:id="connection" source="connection/Connection.fxml"/> <fx:include fx:id="connection" source="connection/Connection.fxml"/>
</Tab> </Tab>
<Tab text="Logger"> <Tab fx:id="tab_Logger" text="Logger">
<fx:include fx:id="logger" source="logger/Logger.fxml"/> <fx:include fx:id="logger" source="logger/Logger.fxml"/>
</Tab> </Tab>
<Tab text="Injection"> <Tab text="Injection">