mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 07:37:54 +00:00
Merge #7772: Clear the input line after activating autocomplete
ae2156f
Clear the input line after activating autocomplete (Pavel Janík)
This commit is contained in:
commit
6383268893
@ -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