aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-06-24 16:35:21 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-06-24 16:45:12 +0200
commit1acf1db76fc3e07deb8f0f837934ea90383fedb5 (patch)
treed5988afeaba365f130400cea81e1f21027bc5622 /src/init.cpp
parent08338942b50f915add72156e02a2131310d56e45 (diff)
downloadbitcoin-1acf1db76fc3e07deb8f0f837934ea90383fedb5.tar.xz
Do not ask a UI question from bitcoind
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index b572bfc327..fe367c6a33 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1317,8 +1317,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
if (!fLoaded) {
// first suggest a reindex
if (!fReset) {
- bool fRet = uiInterface.ThreadSafeMessageBox(
+ bool fRet = uiInterface.ThreadSafeQuestion(
strLoadError + ".\n\n" + _("Do you want to rebuild the block database now?"),
+ strLoadError + ".\nPlease restart with -reindex or -reindex-chainstate to recover.",
"", CClientUIInterface::MSG_ERROR | CClientUIInterface::BTN_ABORT);
if (fRet) {
fReindex = true;