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

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();