From 05a71df5a385395d233d792330f1abf9671af4c7 Mon Sep 17 00:00:00 2001 From: Arthur GOBIN Date: Tue, 14 May 2024 14:51:40 +0200 Subject: [PATCH] correction bug --- .../Cell/Controllers/SchemaTreeCellController.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/components/schemaTree/Cell/Controllers/SchemaTreeCellController.java b/src/main/java/components/schemaTree/Cell/Controllers/SchemaTreeCellController.java index cfd3ab82..48914dec 100644 --- a/src/main/java/components/schemaTree/Cell/Controllers/SchemaTreeCellController.java +++ b/src/main/java/components/schemaTree/Cell/Controllers/SchemaTreeCellController.java @@ -11,17 +11,14 @@ import javafx.scene.control.*; import javafx.scene.image.ImageView; import javafx.scene.input.KeyCode; -import javafx.scene.input.TransferMode; import javafx.scene.layout.BorderPane; import javafx.scene.layout.Pane; import models.SchemaCategory; import models.SchemaFolder; import utils.GlobalVariables; import utils.ResourceLoader; -import utils.GlobalVariables; import utils.autoSuggestion.AutoSuggestionsTextField; import utils.autoSuggestion.strategies.SuggestionStrategy; -import utils.dragAndDrop.DragStore; import java.net.URL; import java.util.ResourceBundle; @@ -122,7 +119,7 @@ public void passInRenamingMode(boolean YoN,boolean deleteIfUnavailable) { Alert alert = new Alert(Alert.AlertType.WARNING); alert.setTitle("Warning"); alert.setHeaderText(null); - alert.setContentText("Veillez à ne pas laisser le nom de la catégorie vide"); + alert.setContentText("Le nom de la catégorie est invalide"); alert.showAndWait(); } @@ -133,7 +130,6 @@ public void passInRenamingMode(boolean YoN,boolean deleteIfUnavailable) { return; } if (renamingField.getText().equals(category.nameProperty().get())) { - System.out.println("test"); Alert alert = new Alert(Alert.AlertType.WARNING); alert.setTitle("Warning"); alert.setHeaderText(null);