aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2011-11-15 10:21:02 -0500
committerLuke Dashjr <[email protected]>2011-11-15 11:48:41 -0500
commit586ea168c2e29b9f96b07a3a5145356af11b4dce (patch)
tree386720e261261287a34bd5b07af304a0bcbebde2 /src
parentUpdate gitian descriptors to point at stable git repo (diff)
downloaddiscoin-586ea168c2e29b9f96b07a3a5145356af11b4dce.tar.xz
discoin-586ea168c2e29b9f96b07a3a5145356af11b4dce.zip
add message about restarting bitcoin after encrypting wallet succesfully
Diffstat (limited to 'src')
-rw-r--r--src/ui.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 6b7ecdbc8..bfb708b3e 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -1222,10 +1222,9 @@ void CMainFrame::OnMenuOptionsEncryptWallet(wxCommandEvent& event)
fill(strWalletPassTest.begin(), strWalletPassTest.end(), '\0');
munlock(&strWalletPass[0], strWalletPass.capacity());
munlock(&strWalletPassTest[0], strWalletPassTest.capacity());
- wxMessageBox(_("Wallet Encrypted.\nRemember that encrypting your wallet cannot fully protect your bitcoins from being stolen by malware infecting your computer."), "Bitcoin");
+ wxMessageBox(_("Wallet Encrypted.\nBitcoin 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."), "Bitcoin");
- m_menuOptions->Remove(m_menuOptionsEncryptWallet);
- m_menuOptions->Insert(m_menuOptions->GetMenuItemCount() - 1, m_menuOptionsChangeWalletPassphrase);
+ Close(true);
}
void CMainFrame::OnMenuOptionsChangeWalletPassphrase(wxCommandEvent& event)