See https://github.com/bitcoin/bitcoin/pull/1767 361/head
authorsvost <svost@users.noreply.github.com>
Sat, 3 Dec 2016 18:14:14 +0000 (21:14 +0300)
committerGitHub <noreply@github.com>
Sat, 3 Dec 2016 18:14:14 +0000 (21:14 +0300)
src/qt/rpcconsole.cpp

index ff773f6..c793bf9 100644 (file)
@@ -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();