aboutsummaryrefslogtreecommitdiff
path: root/src/qt/modaloverlay.cpp
diff options
context:
space:
mode:
authorBen Carman <benthecarman@live.com>2019-10-13 10:31:25 -0500
committerBen Carman <benthecarman@live.com>2019-10-13 10:31:25 -0500
commitb3b6b6f62fcabea9818e8049dba714d0d0ef8ab6 (patch)
tree9781d602ece4731d98841dbe8476b4515250e15f /src/qt/modaloverlay.cpp
parent1d73636fdf1ef85c1f62841953e1cf01a6c3bfd0 (diff)
downloadbitcoin-b3b6b6f62fcabea9818e8049dba714d0d0ef8ab6.tar.xz
gui: don't disable the sync overlay when wallet is disabled
Diffstat (limited to 'src/qt/modaloverlay.cpp')
-rw-r--r--src/qt/modaloverlay.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qt/modaloverlay.cpp b/src/qt/modaloverlay.cpp
index c5bedf007a..686014da1a 100644
--- a/src/qt/modaloverlay.cpp
+++ b/src/qt/modaloverlay.cpp
@@ -12,7 +12,7 @@
#include <QResizeEvent>
#include <QPropertyAnimation>
-ModalOverlay::ModalOverlay(QWidget *parent) :
+ModalOverlay::ModalOverlay(bool enable_wallet, QWidget *parent) :
QWidget(parent),
ui(new Ui::ModalOverlay),
bestHeaderHeight(0),
@@ -29,6 +29,10 @@ userClosed(false)
blockProcessTime.clear();
setVisible(false);
+ if (!enable_wallet) {
+ ui->infoText->setVisible(false);
+ ui->infoTextStrong->setText(tr("Bitcoin Core is currently syncing. It will download headers and blocks from peers and validate them until reaching the tip of the block chain."));
+ }
}
ModalOverlay::~ModalOverlay()