mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-29 09:55:49 +02:00
gui: don't disable the sync overlay when wallet is disabled
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user