diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index b83cb2fea4..a13cf91d3b 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -504,6 +504,12 @@ RPCConsole::RPCConsole(interfaces::Node& node, QWidget* parent, Qt::WindowFlags connect(ui->btn_upgradewallet, &QPushButton::clicked, this, &RPCConsole::walletUpgrade); connect(ui->btn_reindex, &QPushButton::clicked, this, &RPCConsole::walletReindex); +#ifdef ENABLE_WALLET + std::string walletPath = GetDataDir().string(); + walletPath += QDir::separator().toLatin1() + gArgs.GetArg("-wallet", "wallet.dat"); + ui->wallet_path->setText(QString::fromStdString(walletPath)); +#endif + // Register RPC timer interface rpcTimerInterface = new QtRPCTimerInterface(); // avoid accidentally overwriting an existing, non QTThread