diff --git a/src/main/java/es/kauron/jstudy/controller/TableController.java b/src/main/java/es/kauron/jstudy/controller/TableController.java index 8030a56..5091089 100644 --- a/src/main/java/es/kauron/jstudy/controller/TableController.java +++ b/src/main/java/es/kauron/jstudy/controller/TableController.java @@ -36,11 +36,11 @@ public class TableController implements Initializable { public void initialize(URL url, ResourceBundle resourceBundle) { answerCol.setCellValueFactory(e -> e.getValue().answerProperty()); questionCol.setCellValueFactory(e -> e.getValue().questionProperty()); - editButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); - swapButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); - deleteButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); - duplicateButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); - testSelectionButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); +// editButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); +// swapButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); +// deleteButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); +// duplicateButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); +// testSelectionButton.disableProperty().bind(table.getSelectionModel().selectedIndexProperty().lessThan(0)); } void setData(List list, Controller controller) {