Changed Things

This commit is contained in:
Michael-Jouanneau 2016-11-13 14:00:04 +01:00
parent 35c5e64dcd
commit 6a409aa452

View File

@ -113,7 +113,6 @@ public class Main extends Application {
updateTabSelection(n.lookup("#Settings-Gen-btn"), TabType.SETTINGS);
Node genericLayout = Tabs.switchTab("settings_generic", (Pane) n.lookup("#Settings-Pane"));
}
});
@ -123,11 +122,9 @@ public class Main extends Application {
updateTabSelection(n.lookup("#Settings-Mine-btn"), TabType.SETTINGS);
Node minecraftLayout = Tabs.switchTab("settings_minecraft", (Pane) n.lookup("#Settings-Pane"));
}
});
System.out.println(settings_activeTab.getId());
Tabs.switchTab(settings_activeTab.getId().equals("Settings-Gen-btn") ? "settings_generic" : "settings_minecraft", (Pane) n.lookup("#Settings-Pane"));