mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
qt: restore "wallet path on repair tab" logic
This commit is contained in:
parent
d03a47820f
commit
9879322b99
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user