mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 08:32:30 +01: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:
@@ -171,7 +171,9 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty
|
|||||||
frameBlocksLayout->addWidget(unitDisplayControl);
|
frameBlocksLayout->addWidget(unitDisplayControl);
|
||||||
frameBlocksLayout->addStretch();
|
frameBlocksLayout->addStretch();
|
||||||
frameBlocksLayout->addWidget(labelWalletEncryptionIcon);
|
frameBlocksLayout->addWidget(labelWalletEncryptionIcon);
|
||||||
|
labelWalletEncryptionIcon->hide();
|
||||||
frameBlocksLayout->addWidget(labelWalletHDStatusIcon);
|
frameBlocksLayout->addWidget(labelWalletHDStatusIcon);
|
||||||
|
labelWalletHDStatusIcon->hide();
|
||||||
}
|
}
|
||||||
frameBlocksLayout->addWidget(labelProxyIcon);
|
frameBlocksLayout->addWidget(labelProxyIcon);
|
||||||
frameBlocksLayout->addStretch();
|
frameBlocksLayout->addStretch();
|
||||||
|
|||||||
Reference in New Issue
Block a user