This commit is contained in:
Manfred Karrer 2016-04-18 00:25:46 +02:00
parent ac6cad3ce0
commit 48ee5e7a9e
2 changed files with 1 additions and 5 deletions

View File

@ -78,7 +78,7 @@ public class DisplayAlertMessageWindow extends Overlay<DisplayAlertMessageWindow
headLine = "Important information!";
headLineLabel.setStyle("-fx-text-fill: -bs-error-red; -fx-font-weight: bold; -fx-font-size: 22;");
}
closeButton = new Button("Cancel");
closeButton = new Button("Close");
closeButton.setOnAction(e -> {
hide();
closeHandlerOptional.ifPresent(closeHandler -> closeHandler.run());

View File

@ -18,7 +18,6 @@
package io.bitsquare.gui.main.overlays.windows;
import io.bitsquare.alert.Alert;
import io.bitsquare.app.BitsquareApp;
import io.bitsquare.common.util.Tuple2;
import io.bitsquare.gui.components.InputTextField;
import io.bitsquare.gui.main.overlays.Overlay;
@ -116,9 +115,6 @@ public class SendAlertMessageWindow extends Overlay<SendAlertMessageWindow> {
InputTextField versionInputTextField = addLabelInputTextField(gridPane, ++rowIndex, "New version nr.:").second;
versionInputTextField.disableProperty().bind(isUpdateCheckBox.selectedProperty().not());
if (BitsquareApp.DEV_MODE)
keyInputTextField.setText("2e41038992f89eef2e4634ff3586e342c68ad9a5a7ffafee866781687f77a9b1");
sendButton = new Button("Send notification");
sendButton.setOnAction(e -> {
if (alertMessageTextArea.getText().length() > 0 && keyInputTextField.getText().length() > 0) {