diff options
| author | Luke Dashjr <[email protected]> | 2011-11-15 10:21:02 -0500 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2011-11-15 11:48:41 -0500 |
| commit | 586ea168c2e29b9f96b07a3a5145356af11b4dce (patch) | |
| tree | 386720e261261287a34bd5b07af304a0bcbebde2 /src | |
| parent | Update gitian descriptors to point at stable git repo (diff) | |
| download | discoin-586ea168c2e29b9f96b07a3a5145356af11b4dce.tar.xz discoin-586ea168c2e29b9f96b07a3a5145356af11b4dce.zip | |
add message about restarting bitcoin after encrypting wallet succesfully
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui.cpp | 5 |
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) |