mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +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) {
|
if (wallet_index > 0) {
|
||||||
walletID = (QString)ui->WalletSelector->itemData(wallet_index).value<QString>();
|
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
|
#endif
|
||||||
|
|
||||||
message(CMD_REQUEST, QString::fromStdString(strFilteredCmd));
|
message(CMD_REQUEST, QString::fromStdString(strFilteredCmd));
|
||||||
|
@ -153,6 +153,7 @@ private:
|
|||||||
int consoleFontSize;
|
int consoleFontSize;
|
||||||
QCompleter *autoCompleter;
|
QCompleter *autoCompleter;
|
||||||
QThread thread;
|
QThread thread;
|
||||||
|
QString m_last_wallet_id;
|
||||||
|
|
||||||
/** Update UI with latest network info from model. */
|
/** Update UI with latest network info from model. */
|
||||||
void updateNetworkState();
|
void updateNetworkState();
|
||||||
|
Loading…
Reference in New Issue
Block a user