From ba9aed53952483996a68788fe6a88eb986a0e980 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Tue, 5 Jul 2022 09:22:13 +0200 Subject: [PATCH] show wallet name in delete dialog --- src/main/java/com/sparrowwallet/sparrow/AppController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index 1544020b..cc30d733 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -1879,7 +1879,7 @@ public class AppController implements Initializable { } private void deleteWallet(WalletForm selectedWalletForm) { - Optional optButtonType = AppServices.showWarningDialog("Delete Wallet?", "The wallet file and any backups will be deleted. Are you sure?", ButtonType.NO, ButtonType.YES); + Optional optButtonType = AppServices.showWarningDialog("Delete " + selectedWalletForm.getWallet().getMasterName() + "?", "The wallet file and any backups will be deleted. Are you sure?", ButtonType.NO, ButtonType.YES); if(optButtonType.isPresent() && optButtonType.get() == ButtonType.YES) { Storage storage = selectedWalletForm.getStorage(); if(selectedWalletForm.getMasterWallet().isEncrypted()) {