Skip to content

Commit 489060d

Browse files
committed
qt: Do not show unused widgets at startup
When starting without wallets the labelWalletEncryptionIcon and labelWalletHDStatusIcon widgets are not required.
1 parent 8d83f9c commit 489060d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/qt/bitcoingui.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty
171171
frameBlocksLayout->addWidget(unitDisplayControl);
172172
frameBlocksLayout->addStretch();
173173
frameBlocksLayout->addWidget(labelWalletEncryptionIcon);
174+
labelWalletEncryptionIcon->hide();
174175
frameBlocksLayout->addWidget(labelWalletHDStatusIcon);
176+
labelWalletHDStatusIcon->hide();
175177
}
176178
frameBlocksLayout->addWidget(labelProxyIcon);
177179
frameBlocksLayout->addStretch();

0 commit comments

Comments
 (0)