mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Clear the input line after activating autocomplete
This commit is contained in:
parent
e8a8f3d4b2
commit
ae2156f123
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user