Disable SteamDB checkbox

This commit is contained in:
Jeddunk 2020-10-21 13:14:03 +02:00
parent cce8bbe513
commit 452e78b1ed

View File

@ -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);
}