diff options
author | = <ruhiasap@gmail.com> | 2021-10-05 21:52:22 +0530 |
---|---|---|
committer | = <ruhiasap@gmail.com> | 2021-10-06 00:30:35 +0530 |
commit | 35e814c1cfedf17e7751b730ae1e36099801be4c (patch) | |
tree | f5f0ad269b80a0ce683d34fad32eed71bc232a09 /src | |
parent | 113b863f0773999497f952daa6539a03a66a9de3 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/bitcoingui.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 610637360b..b68ce39b53 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -1304,8 +1304,6 @@ void BitcoinGUI::setHDStatus(bool privkeyDisabled, int hdEnabled) labelWalletHDStatusIcon->setThemedPixmap(privkeyDisabled ? QStringLiteral(":/icons/eye") : hdEnabled ? QStringLiteral(":/icons/hd_enabled") : QStringLiteral(":/icons/hd_disabled"), STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE); 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>")); labelWalletHDStatusIcon->show(); - // eventually disable the QLabel to set its opacity to 50% - labelWalletHDStatusIcon->setEnabled(hdEnabled); } void BitcoinGUI::setEncryptionStatus(int status) |