mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
qt: Do not show a check-mark for "Encrypt wallet" menu item (#3770)
This commit is contained in:
parent
7b72e98092
commit
78358a2a6d
@ -496,7 +496,6 @@ void BitcoinGUI::createActions()
|
|||||||
|
|
||||||
encryptWalletAction = new QAction(tr("&Encrypt Wallet..."), this);
|
encryptWalletAction = new QAction(tr("&Encrypt Wallet..."), this);
|
||||||
encryptWalletAction->setStatusTip(tr("Encrypt the private keys that belong to your wallet"));
|
encryptWalletAction->setStatusTip(tr("Encrypt the private keys that belong to your wallet"));
|
||||||
encryptWalletAction->setCheckable(true);
|
|
||||||
backupWalletAction = new QAction(tr("&Backup Wallet..."), this);
|
backupWalletAction = new QAction(tr("&Backup Wallet..."), this);
|
||||||
backupWalletAction->setStatusTip(tr("Backup wallet to another location"));
|
backupWalletAction->setStatusTip(tr("Backup wallet to another location"));
|
||||||
changePassphraseAction = new QAction(tr("&Change Passphrase..."), this);
|
changePassphraseAction = new QAction(tr("&Change Passphrase..."), this);
|
||||||
@ -1666,7 +1665,6 @@ void BitcoinGUI::setEncryptionStatus(int status)
|
|||||||
labelWalletEncryptionIcon->show();
|
labelWalletEncryptionIcon->show();
|
||||||
labelWalletEncryptionIcon->setPixmap(GUIUtil::getIcon("lock_open", GUIUtil::ThemedColor::RED).pixmap(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
|
labelWalletEncryptionIcon->setPixmap(GUIUtil::getIcon("lock_open", GUIUtil::ThemedColor::RED).pixmap(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
|
||||||
labelWalletEncryptionIcon->setToolTip(tr("Wallet is <b>unencrypted</b>"));
|
labelWalletEncryptionIcon->setToolTip(tr("Wallet is <b>unencrypted</b>"));
|
||||||
encryptWalletAction->setChecked(false);
|
|
||||||
changePassphraseAction->setEnabled(false);
|
changePassphraseAction->setEnabled(false);
|
||||||
unlockWalletAction->setVisible(false);
|
unlockWalletAction->setVisible(false);
|
||||||
lockWalletAction->setVisible(false);
|
lockWalletAction->setVisible(false);
|
||||||
@ -1676,7 +1674,6 @@ void BitcoinGUI::setEncryptionStatus(int status)
|
|||||||
labelWalletEncryptionIcon->show();
|
labelWalletEncryptionIcon->show();
|
||||||
labelWalletEncryptionIcon->setPixmap(GUIUtil::getIcon("lock_open", GUIUtil::ThemedColor::RED).pixmap(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
|
labelWalletEncryptionIcon->setPixmap(GUIUtil::getIcon("lock_open", GUIUtil::ThemedColor::RED).pixmap(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
|
||||||
labelWalletEncryptionIcon->setToolTip(tr("Wallet is <b>encrypted</b> and currently <b>unlocked</b>"));
|
labelWalletEncryptionIcon->setToolTip(tr("Wallet is <b>encrypted</b> and currently <b>unlocked</b>"));
|
||||||
encryptWalletAction->setChecked(true);
|
|
||||||
changePassphraseAction->setEnabled(true);
|
changePassphraseAction->setEnabled(true);
|
||||||
unlockWalletAction->setVisible(false);
|
unlockWalletAction->setVisible(false);
|
||||||
lockWalletAction->setVisible(true);
|
lockWalletAction->setVisible(true);
|
||||||
@ -1686,7 +1683,6 @@ void BitcoinGUI::setEncryptionStatus(int status)
|
|||||||
labelWalletEncryptionIcon->show();
|
labelWalletEncryptionIcon->show();
|
||||||
labelWalletEncryptionIcon->setPixmap(GUIUtil::getIcon("lock_open", GUIUtil::ThemedColor::ORANGE).pixmap(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
|
labelWalletEncryptionIcon->setPixmap(GUIUtil::getIcon("lock_open", GUIUtil::ThemedColor::ORANGE).pixmap(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
|
||||||
labelWalletEncryptionIcon->setToolTip(tr("Wallet is <b>encrypted</b> and currently <b>unlocked</b> for mixing only"));
|
labelWalletEncryptionIcon->setToolTip(tr("Wallet is <b>encrypted</b> and currently <b>unlocked</b> for mixing only"));
|
||||||
encryptWalletAction->setChecked(true);
|
|
||||||
changePassphraseAction->setEnabled(true);
|
changePassphraseAction->setEnabled(true);
|
||||||
unlockWalletAction->setVisible(true);
|
unlockWalletAction->setVisible(true);
|
||||||
lockWalletAction->setVisible(true);
|
lockWalletAction->setVisible(true);
|
||||||
@ -1696,7 +1692,6 @@ void BitcoinGUI::setEncryptionStatus(int status)
|
|||||||
labelWalletEncryptionIcon->show();
|
labelWalletEncryptionIcon->show();
|
||||||
labelWalletEncryptionIcon->setPixmap(GUIUtil::getIcon("lock_closed", GUIUtil::ThemedColor::GREEN).pixmap(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
|
labelWalletEncryptionIcon->setPixmap(GUIUtil::getIcon("lock_closed", GUIUtil::ThemedColor::GREEN).pixmap(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
|
||||||
labelWalletEncryptionIcon->setToolTip(tr("Wallet is <b>encrypted</b> and currently <b>locked</b>"));
|
labelWalletEncryptionIcon->setToolTip(tr("Wallet is <b>encrypted</b> and currently <b>locked</b>"));
|
||||||
encryptWalletAction->setChecked(true);
|
|
||||||
changePassphraseAction->setEnabled(true);
|
changePassphraseAction->setEnabled(true);
|
||||||
unlockWalletAction->setVisible(true);
|
unlockWalletAction->setVisible(true);
|
||||||
lockWalletAction->setVisible(false);
|
lockWalletAction->setVisible(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user