mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
gui: disable File->CreateWallet during startup
This commit is contained in:
parent
5622d8f315
commit
d65fafc2f7
1 changed files with 2 additions and 0 deletions
|
|
@ -341,6 +341,7 @@ void BitcoinGUI::createActions()
|
|||
m_close_wallet_action->setStatusTip(tr("Close wallet"));
|
||||
|
||||
m_create_wallet_action = new QAction(tr("Create Wallet..."), this);
|
||||
m_create_wallet_action->setEnabled(false);
|
||||
m_create_wallet_action->setStatusTip(tr("Create a new wallet"));
|
||||
|
||||
showHelpMessageAction = new QAction(tr("&Command-line options"), this);
|
||||
|
|
@ -618,6 +619,7 @@ void BitcoinGUI::setWalletController(WalletController* wallet_controller)
|
|||
|
||||
m_wallet_controller = wallet_controller;
|
||||
|
||||
m_create_wallet_action->setEnabled(true);
|
||||
m_open_wallet_action->setEnabled(true);
|
||||
m_open_wallet_action->setMenu(m_open_wallet_menu);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue