diff options
author | Ben Carman <benthecarman@live.com> | 2019-10-13 10:31:25 -0500 |
---|---|---|
committer | Ben Carman <benthecarman@live.com> | 2019-10-13 10:31:25 -0500 |
commit | b3b6b6f62fcabea9818e8049dba714d0d0ef8ab6 (patch) | |
tree | 9781d602ece4731d98841dbe8476b4515250e15f /src/qt/modaloverlay.cpp | |
parent | 1d73636fdf1ef85c1f62841953e1cf01a6c3bfd0 (diff) | |
download | bitcoin-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.cpp | 6 |
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() |