Add rolling backup

This commit is contained in:
Manfred Karrer 2016-04-05 03:31:22 +02:00
parent 530b15147c
commit 4c0cc738e4
11 changed files with 109 additions and 55 deletions

View file

@ -118,6 +118,7 @@ public class PasswordView extends ActivatableView<GridPane, Void> {
.show();
passwordField.setText("");
repeatedPasswordField.setText("");
walletService.backupWallet();
} else {
new Popup()
.warning("You entered the wrong password.\n\n" +
@ -133,6 +134,8 @@ public class PasswordView extends ActivatableView<GridPane, Void> {
.show();
passwordField.setText("");
repeatedPasswordField.setText("");
walletService.clearBackup();
walletService.backupWallet();
}
setText();
});