Permalink
Browse files

Merge #7772: Clear the input line after activating autocomplete

ae2156f Clear the input line after activating autocomplete (Pavel Janík)
  • Loading branch information...
jonasschnelli committed Mar 31, 2016
2 parents 209dbeb + ae2156f commit 63832688939f5445289621d0c01f27411253386c
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/qt/rpcconsole.cpp
View
@@ -459,6 +459,8 @@ void RPCConsole::setClientModel(ClientModel *model)
autoCompleter = new QCompleter(wordList, this);
ui->lineEdit->setCompleter(autoCompleter);
// clear the lineEdit after activating from QCompleter
connect(autoCompleter, SIGNAL(activated(const QString&)), ui->lineEdit, SLOT(clear()), Qt::QueuedConnection);
}
}

0 comments on commit 6383268

Please sign in to comment.