From 133d771c09b38473fe4ac2a026705a57467b3c7c Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Tue, 18 Aug 2020 11:02:45 +0200 Subject: [PATCH] keystore buttons label tooltips --- .../com/sparrowwallet/sparrow/wallet/KeystoreController.java | 1 + .../resources/com/sparrowwallet/sparrow/wallet/keystore.fxml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/wallet/KeystoreController.java b/src/main/java/com/sparrowwallet/sparrow/wallet/KeystoreController.java index 64fef401..896e2bee 100644 --- a/src/main/java/com/sparrowwallet/sparrow/wallet/KeystoreController.java +++ b/src/main/java/com/sparrowwallet/sparrow/wallet/KeystoreController.java @@ -180,6 +180,7 @@ public class KeystoreController extends WalletFormController implements Initiali viewSeedButton.setVisible(keystore.getSource() == KeystoreSource.SW_SEED); importButton.setText(keystore.getSource() == KeystoreSource.SW_WATCH ? "Import..." : "Replace..."); + importButton.setTooltip(new Tooltip(keystore.getSource() == KeystoreSource.SW_WATCH ? "Import a keystore from an external source" : "Replace this keystore with another source")); boolean editable = (keystore.getSource() == KeystoreSource.SW_WATCH); fingerprint.setEditable(editable); diff --git a/src/main/resources/com/sparrowwallet/sparrow/wallet/keystore.fxml b/src/main/resources/com/sparrowwallet/sparrow/wallet/keystore.fxml index b0b3e935..15cac2ec 100644 --- a/src/main/resources/com/sparrowwallet/sparrow/wallet/keystore.fxml +++ b/src/main/resources/com/sparrowwallet/sparrow/wallet/keystore.fxml @@ -21,12 +21,12 @@