mirror of
https://gitlab.com/kauron/jstudy
synced 2024-11-13 07:33:44 +01:00
minor text fix
This commit is contained in:
parent
6b8f5ef1ee
commit
56b4f17a8c
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ public class Controller implements Initializable {
|
|||
tab.setOnCloseRequest(event -> {
|
||||
if (!((TableController) loader.getController()).saved.get()) {
|
||||
Alert dialog = new Alert(Alert.AlertType.WARNING);
|
||||
dialog.setHeaderText("The tab " + ((TableController) loader.getController()).name + " has unsaved information");
|
||||
dialog.setHeaderText("The tab " + ((TableController) loader.getController()).name.get() + " has unsaved information");
|
||||
dialog.setContentText("Do you want to save those changes?");
|
||||
dialog.getButtonTypes().clear();
|
||||
dialog.getButtonTypes().addAll(ButtonType.YES, ButtonType.NO, ButtonType.CANCEL);
|
||||
|
|
Loading…
Reference in a new issue