File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -893,6 +893,15 @@ void RPCConsole::on_lineEdit_returnPressed()
893
893
if (wallet_index > 0 ) {
894
894
walletID = (QString)ui->WalletSelector ->itemData (wallet_index).value <QString>();
895
895
}
896
+
897
+ if (m_last_wallet_id != walletID) {
898
+ if (walletID.isEmpty ()) {
899
+ message (CMD_REQUEST, tr (" Executing command without any wallet" ));
900
+ } else {
901
+ message (CMD_REQUEST, tr (" Executing command using \" %1\" wallet" ).arg (walletID));
902
+ }
903
+ m_last_wallet_id = walletID;
904
+ }
896
905
#endif
897
906
898
907
message (CMD_REQUEST, QString::fromStdString (strFilteredCmd));
Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ public Q_SLOTS:
153
153
int consoleFontSize;
154
154
QCompleter *autoCompleter;
155
155
QThread thread;
156
+ QString m_last_wallet_id;
156
157
157
158
/* * Update UI with latest network info from model. */
158
159
void updateNetworkState ();
You can’t perform that action at this time.
0 commit comments