mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
GUI: RPCConsole: Log wallet changes
This commit is contained in:
parent
b6d04fc7cc
commit
cfa4133ce5
@ -893,6 +893,15 @@ void RPCConsole::on_lineEdit_returnPressed()
|
||||
if (wallet_index > 0) {
|
||||
walletID = (QString)ui->WalletSelector->itemData(wallet_index).value<QString>();
|
||||
}
|
||||
|
||||
if (m_last_wallet_id != walletID) {
|
||||
if (walletID.isEmpty()) {
|
||||
message(CMD_REQUEST, tr("Executing command without any wallet"));
|
||||
} else {
|
||||
message(CMD_REQUEST, tr("Executing command using \"%1\" wallet").arg(walletID));
|
||||
}
|
||||
m_last_wallet_id = walletID;
|
||||
}
|
||||
#endif
|
||||
|
||||
message(CMD_REQUEST, QString::fromStdString(strFilteredCmd));
|
||||
|
@ -153,6 +153,7 @@ private:
|
||||
int consoleFontSize;
|
||||
QCompleter *autoCompleter;
|
||||
QThread thread;
|
||||
QString m_last_wallet_id;
|
||||
|
||||
/** Update UI with latest network info from model. */
|
||||
void updateNetworkState();
|
||||
|
Loading…
Reference in New Issue
Block a user