X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fqt%2Frpcconsole.cpp;h=c793bf9856e675616dd1c69a567e76471f95543f;hp=d8fe02e493625e4c4f12c1999abeadfa02986e5d;hb=ce035e7bc7cbdd5d645d1c63cda6863fc46a39b8;hpb=4f30d4151f46011014e634c8ea2174d411a33ca1 diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index d8fe02e..c793bf9 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -270,7 +270,7 @@ void RPCConsole::setClientModel(ClientModel *model) connect(model, SIGNAL(numConnectionsChanged(int)), this, SLOT(setNumConnections(int))); connect(model, SIGNAL(numBlocksChanged(int,int)), this, SLOT(setNumBlocks(int,int))); - updateTrafficStats(model->getTotalBytesRecv(), model->getTotalBytesSent()); + updateTrafficStats(model->getTotalBytesRecv(), model->getTotalBytesSent()); connect(model, SIGNAL(bytesChanged(quint64,quint64)), this, SLOT(updateTrafficStats(quint64, quint64))); // Provide initial values ui->clientVersion->setText(model->formatFullVersion()); @@ -299,6 +299,8 @@ static QString categoryClass(int category) void RPCConsole::clear() { ui->messagesWidget->clear(); + history.clear(); + historyPtr = 0; ui->lineEdit->clear(); ui->lineEdit->setFocus();