aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-06-24 16:35:21 +0200
committerPieter Wuille <[email protected]>2016-06-24 16:45:12 +0200
commit1acf1db76fc3e07deb8f0f837934ea90383fedb5 (patch)
treed5988afeaba365f130400cea81e1f21027bc5622 /src/init.cpp
parentMerge #8204: Update petertodd's testnet seed (diff)
downloaddiscoin-1acf1db76fc3e07deb8f0f837934ea90383fedb5.tar.xz
discoin-1acf1db76fc3e07deb8f0f837934ea90383fedb5.zip
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 b572bfc32..fe367c6a3 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;