inform the user that database will be rebuilt. without UI, the old message was confusing.

This commit is contained in:
Miguel Freitas 2013-10-22 19:47:50 -02:00
parent 0150dd2f7b
commit 21faab36b7

View File

@ -738,7 +738,7 @@ bool AppInit2(boost::thread_group& threadGroup)
// first suggest a reindex // first suggest a reindex
if (!fReset) { if (!fReset) {
/*bool fRet =*/ uiInterface.ThreadSafeMessageBox( /*bool fRet =*/ uiInterface.ThreadSafeMessageBox(
strLoadError + ".\n\n" + _("Do you want to rebuild the block database now?"), strLoadError + ".\n\n" + _("Do you want to rebuild the block database now? (assuming YES)"),
"", CClientUIInterface::MSG_ERROR | CClientUIInterface::BTN_ABORT); "", CClientUIInterface::MSG_ERROR | CClientUIInterface::BTN_ABORT);
if (true /* [MF] fRet*/) { if (true /* [MF] fRet*/) {
fReindex = true; fReindex = true;