Skip to content

Commit 35e814c

Browse files
committed
qt: never disable HD status icon
Make the watch-only icon in the bottom bar enabled by default for a better user interface. Currently, it's disabled by default with a 50% opacity which makes it hard to see the icon in dark mode.
1 parent 113b863 commit 35e814c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/qt/bitcoingui.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,8 +1304,6 @@ void BitcoinGUI::setHDStatus(bool privkeyDisabled, int hdEnabled)
13041304
labelWalletHDStatusIcon->setThemedPixmap(privkeyDisabled ? QStringLiteral(":/icons/eye") : hdEnabled ? QStringLiteral(":/icons/hd_enabled") : QStringLiteral(":/icons/hd_disabled"), STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE);
13051305
labelWalletHDStatusIcon->setToolTip(privkeyDisabled ? tr("Private key <b>disabled</b>") : hdEnabled ? tr("HD key generation is <b>enabled</b>") : tr("HD key generation is <b>disabled</b>"));
13061306
labelWalletHDStatusIcon->show();
1307-
// eventually disable the QLabel to set its opacity to 50%
1308-
labelWalletHDStatusIcon->setEnabled(hdEnabled);
13091307
}
13101308

13111309
void BitcoinGUI::setEncryptionStatus(int status)

0 commit comments

Comments
 (0)