aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-02-20 13:35:58 -0500
committerAndrew Chow <achow101-github@achow101.com>2020-09-08 21:02:53 -0400
commitd26f0648f1c0d1115dcb8d76e57195032b88f400 (patch)
tree8892d0f1c46004ab03def09c2d1d57d820fb4a27 /src/qt/bitcoingui.cpp
parent1bee1e6269b76b52b1eab9112d39c245beaa27a2 (diff)
Tell users how to load or create a wallet when no wallet is loaded
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r--src/qt/bitcoingui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index aa58c0b10e..0c2dcc3584 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -660,6 +660,11 @@ void BitcoinGUI::setWalletController(WalletController* wallet_controller)
}
}
+WalletController* BitcoinGUI::getWalletController()
+{
+ return m_wallet_controller;
+}
+
void BitcoinGUI::addWallet(WalletModel* walletModel)
{
if (!walletFrame) return;