mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Merge pull request #752 from UdjinM6/fixAutocompleter
Clear the input line after activating autocomplete
This commit is contained in:
commit
5fc47d4c7b
@ -474,6 +474,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