0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

qt: Do not show unused widgets at startup

When starting without wallets the labelWalletEncryptionIcon and
labelWalletHDStatusIcon widgets are not required.
This commit is contained in:
Hennadii Stepanov 2021-09-29 21:57:07 +03:00
parent 8d83f9c1d1
commit 489060dcaf
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -171,7 +171,9 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty
frameBlocksLayout->addWidget(unitDisplayControl);
frameBlocksLayout->addStretch();
frameBlocksLayout->addWidget(labelWalletEncryptionIcon);
labelWalletEncryptionIcon->hide();
frameBlocksLayout->addWidget(labelWalletHDStatusIcon);
labelWalletHDStatusIcon->hide();
}
frameBlocksLayout->addWidget(labelProxyIcon);
frameBlocksLayout->addStretch();