|
|
|
@ -677,6 +677,9 @@ void RPCConsole::setClientModel(ClientModel *model)
|
|
|
|
|
wordList.sort();
|
|
|
|
|
autoCompleter = new QCompleter(wordList, this);
|
|
|
|
|
autoCompleter->setModelSorting(QCompleter::CaseSensitivelySortedModel);
|
|
|
|
|
// ui->lineEdit is initially disabled because running commands is only
|
|
|
|
|
// possible from now on.
|
|
|
|
|
ui->lineEdit->setEnabled(true);
|
|
|
|
|
ui->lineEdit->setCompleter(autoCompleter);
|
|
|
|
|
autoCompleter->popup()->installEventFilter(this);
|
|
|
|
|
// Start thread to execute RPC commands.
|
|
|
|
|