mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge afab1312c5 into merged_master (Bitcoin PR #16118)
This commit is contained in:
commit
7bef011d2a
1 changed files with 4 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ void BitcoinGUI::createActions()
|
|||
openAction->setStatusTip(tr("Open a payment request"));
|
||||
|
||||
m_open_wallet_action = new QAction(tr("Open Wallet"), this);
|
||||
m_open_wallet_action->setMenu(new QMenu(this));
|
||||
m_open_wallet_action->setEnabled(false);
|
||||
m_open_wallet_action->setStatusTip(tr("Open a wallet"));
|
||||
|
||||
m_close_wallet_action = new QAction(tr("Close Wallet..."), this);
|
||||
|
|
@ -633,6 +633,9 @@ void BitcoinGUI::setWalletController(WalletController* wallet_controller)
|
|||
|
||||
m_wallet_controller = wallet_controller;
|
||||
|
||||
m_open_wallet_action->setEnabled(true);
|
||||
m_open_wallet_action->setMenu(new QMenu(this));
|
||||
|
||||
connect(wallet_controller, &WalletController::walletAdded, this, &BitcoinGUI::addWallet);
|
||||
connect(wallet_controller, &WalletController::walletRemoved, this, &BitcoinGUI::removeWallet);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue