git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
891b422
)
Merge pull request #361 from svost/master
author
CryptoManiac
<CryptoManiac@users.noreply.github.com>
Fri, 3 Feb 2017 13:24:34 +0000 (16:24 +0300)
committer
GitHub
<noreply@github.com>
Fri, 3 Feb 2017 13:24:34 +0000 (16:24 +0300)
Clear history when using clear button in RPC console
src/qt/rpcconsole.cpp
patch
|
blob
|
history
diff --git
a/src/qt/rpcconsole.cpp
b/src/qt/rpcconsole.cpp
index
ff773f6
..
c793bf9
100644
(file)
--- a/
src/qt/rpcconsole.cpp
+++ b/
src/qt/rpcconsole.cpp
@@
-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();