mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
rebuild database on error
This commit is contained in:
parent
b6db2327e4
commit
6f48cf1dc1
@ -737,10 +737,10 @@ bool AppInit2(boost::thread_group& threadGroup)
|
||||
if (!fLoaded) {
|
||||
// first suggest a reindex
|
||||
if (!fReset) {
|
||||
bool fRet = uiInterface.ThreadSafeMessageBox(
|
||||
/*bool fRet =*/ uiInterface.ThreadSafeMessageBox(
|
||||
strLoadError + ".\n\n" + _("Do you want to rebuild the block database now?"),
|
||||
"", CClientUIInterface::MSG_ERROR | CClientUIInterface::BTN_ABORT);
|
||||
if (fRet) {
|
||||
if (true /* [MF] fRet*/) {
|
||||
fReindex = true;
|
||||
fRequestShutdown = false;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user