Skip to content

Commit

Permalink
correction bug
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgbn committed May 14, 2024
1 parent 3b63b12 commit 05a71df
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();

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

0 comments on commit 05a71df

Please sign in to comment.