Skip to content

Commit 4dd9a04

Browse files
committed
qt: clear command history when clearing the console
1 parent 0060429 commit 4dd9a04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qt/rpcconsole.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,7 @@ void RPCConsole::setFontSize(int newSize)
825825

826826
void RPCConsole::clear(bool keep_prompt)
827827
{
828+
history.clear();
828829
ui->messagesWidget->clear();
829830
if (!keep_prompt) ui->lineEdit->clear();
830831
ui->lineEdit->setFocus();

0 commit comments

Comments
 (0)