diff options
author | fanquake <fanquake@gmail.com> | 2019-12-07 15:32:05 -0500 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2019-12-07 15:32:05 -0500 |
commit | d65fafc2f7d98ab2be0a0961e7a3ebe7850c1dca (patch) | |
tree | 13658a286c9d4b9eb41bdc463ebff9f95d7abfe8 /src | |
parent | 5622d8f3156a293e61d0964c33d4b21d8c9fd5e0 (diff) |
gui: disable File->CreateWallet during startup
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/bitcoingui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 2aeba6d82c..8444984b27 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -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); |