Changeset View
Changeset View
Standalone View
Standalone View
src/qt/rpcconsole.cpp
Show First 20 Lines • Show All 960 Lines • ▼ Show 20 Lines | if (!cmd.isEmpty()) { | ||||
QString::fromStdString(e.what())); | QString::fromStdString(e.what())); | ||||
return; | return; | ||||
} | } | ||||
ui->lineEdit->clear(); | ui->lineEdit->clear(); | ||||
cmdBeforeBrowsing = QString(); | cmdBeforeBrowsing = QString(); | ||||
message(CMD_REQUEST, cmd); | message(CMD_REQUEST, QString::fromStdString(strFilteredCmd)); | ||||
Q_EMIT cmdRequest(cmd); | Q_EMIT cmdRequest(cmd); | ||||
cmd = QString::fromStdString(strFilteredCmd); | cmd = QString::fromStdString(strFilteredCmd); | ||||
// Remove command, if already in history | // Remove command, if already in history | ||||
history.removeOne(cmd); | history.removeOne(cmd); | ||||
// Append command to history | // Append command to history | ||||
history.append(cmd); | history.append(cmd); | ||||
▲ Show 20 Lines • Show All 353 Lines • Show Last 20 Lines |