Skip to content
Snippets Groups Projects
Commit 58772f72 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

typo, swapped buttons in ColorPickerGUI

parent d082f087
No related branches found
No related tags found
2 merge requests!104merge v_1_2_0 into master,!100merge charts into v_1_2_0
...@@ -150,17 +150,17 @@ public class PaymentCell extends ListCell<Payment> ...@@ -150,17 +150,17 @@ public class PaymentCell extends ListCell<Payment>
Alert alert = new Alert(Alert.AlertType.CONFIRMATION); Alert alert = new Alert(Alert.AlertType.CONFIRMATION);
alert.setTitle("Zahlung löschen"); alert.setTitle("Zahlung löschen");
alert.setHeaderText(""); alert.setHeaderText("");
alert.setContentText("Diese Zahlung wirklich unwiederruflich löschen?"); alert.setContentText("Diese Zahlung wirklich unwiderruflich löschen?");
Stage dialogStage = (Stage)alert.getDialogPane().getScene().getWindow(); Stage dialogStage = (Stage)alert.getDialogPane().getScene().getWindow();
dialogStage.getIcons().add(paymentController.getController().getIcon()); dialogStage.getIcons().add(paymentController.getController().getIcon());
dialogStage.centerOnScreen(); dialogStage.centerOnScreen();
if(item instanceof RepeatingPaymentEntry) if(item instanceof RepeatingPaymentEntry)
{ {
alert.setContentText("Es handelt sich um eine wiederkehrende Zahlung. Wie soll gelöscht werden?"); alert.setContentText("Es handelt sich um eine wiederkehrende Zahlung. Welche Zahlungen sollen gelöscht werden?");
ButtonType buttonTypeOne = new ButtonType("Komplett löschen"); ButtonType buttonTypeOne = new ButtonType("Alle");
ButtonType buttonTypeTwo = new ButtonType("Alle zukünftigen Löschen"); ButtonType buttonTypeTwo = new ButtonType("Alle zukünftigen");
ButtonType buttonTypeCancel = new ButtonType("Abbrechen", ButtonData.CANCEL_CLOSE); ButtonType buttonTypeCancel = new ButtonType("Abbrechen", ButtonData.CANCEL_CLOSE);
alert.getButtonTypes().setAll(buttonTypeOne, buttonTypeTwo, buttonTypeCancel); alert.getButtonTypes().setAll(buttonTypeOne, buttonTypeTwo, buttonTypeCancel);
......
...@@ -90,12 +90,12 @@ ...@@ -90,12 +90,12 @@
</HBox> </HBox>
<HBox alignment="BOTTOM_CENTER" prefHeight="0.0" prefWidth="299.0" spacing="25.0" VBox.vgrow="ALWAYS"> <HBox alignment="BOTTOM_CENTER" prefHeight="0.0" prefWidth="299.0" spacing="25.0" VBox.vgrow="ALWAYS">
<children> <children>
<Button fx:id="buttonSave" mnemonicParsing="false" onAction="#save" text="Speichern"> <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text="Abbrechen">
<font> <font>
<Font name="System Bold" size="14.0" /> <Font name="System Bold" size="14.0" />
</font> </font>
</Button> </Button>
<Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text="Abbrechen"> <Button fx:id="buttonSave" mnemonicParsing="false" onAction="#save" text="Speichern">
<font> <font>
<Font name="System Bold" size="14.0" /> <Font name="System Bold" size="14.0" />
</font> </font>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment