add message about restarting bitcoin after encrypting wallet succesfully
authorWladimir J. van der Laan <laanwj@gmail.com>
Fri, 11 Nov 2011 21:20:57 +0000 (22:20 +0100)
committerGavin Andresen <gavinandresen@gmail.com>
Tue, 15 Nov 2011 14:30:16 +0000 (09:30 -0500)
src/qt/askpassphrasedialog.cpp

index 89cdf43..a574ef9 100644 (file)
@@ -101,7 +101,8 @@ void AskPassphraseDialog::accept()
                 if(model->setWalletEncrypted(true, newpass1))
                 {
                     QMessageBox::warning(this, tr("Wallet encrypted"),
-                                         tr("Remember that encrypting your wallet cannot fully protect your bitcoins from being stolen by malware infecting your computer."));
+                                         tr("Bitcoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your bitcoins from being stolen by malware infecting your computer."));
+                    QApplication::quit();
                 }
                 else
                 {