From 452e78b1ed35ccc14db8d7ac78347f1476515e6c Mon Sep 17 00:00:00 2001 From: Jeddunk Date: Wed, 21 Oct 2020 13:14:03 +0200 Subject: [PATCH] Disable SteamDB checkbox --- src/main/java/xyz/jeddunk/autocreamapi/Controller.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/xyz/jeddunk/autocreamapi/Controller.java b/src/main/java/xyz/jeddunk/autocreamapi/Controller.java index 8bfb0ef..4257bc1 100644 --- a/src/main/java/xyz/jeddunk/autocreamapi/Controller.java +++ b/src/main/java/xyz/jeddunk/autocreamapi/Controller.java @@ -132,7 +132,10 @@ public class Controller implements Initializable { @FXML @Override public void initialize(URL location, ResourceBundle resources) { - steamdb_dlc_checkbox.setSelected(true); + // steamdb_dlc_checkbox.setSelected(true); + // Disable SteamDB DLC checking for now until it's fix + steamdb_dlc_checkbox.setSelected(false); + steamdb_dlc_checkbox.setDisable(true); appId_textfield.textProperty().addListener(appIdChangesGameName()); game_name_textfield.setOnKeyReleased(event -> { KeyCode code = event.getCode(); @@ -183,9 +186,10 @@ public class Controller implements Initializable { extra_protection_checkbox.setTooltip(extra_protection_tooltip); Tooltip.install(extra_protection_checkbox, extra_protection_tooltip); - Tooltip steamdb_dlc_tooltip = new Tooltip("Additionally get DLC data from SteamDB.\n" + + /*Tooltip steamdb_dlc_tooltip = new Tooltip("Additionally get DLC data from SteamDB.\n" + "Especially useful for DLC that is not listed on the Steam Store.\n" + - "This sometimes doesn't work because SteamDB may block access for scrapers."); + "This sometimes doesn't work because SteamDB may block access for scrapers.");*/ + Tooltip steamdb_dlc_tooltip = new Tooltip("Currently broken."); steamdb_dlc_checkbox.setTooltip(steamdb_dlc_tooltip); Tooltip.install(steamdb_dlc_checkbox, steamdb_dlc_tooltip); }