diff options
| author | Jonas Schnelli <[email protected]> | 2016-03-31 14:13:58 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-03-31 14:14:04 +0200 |
| commit | 63832688939f5445289621d0c01f27411253386c (patch) | |
| tree | 4255edd9a7b20b2a77a60c274b8340538dd5cc0c /src | |
| parent | Merge #7747: [docs] added depends cross compile info (diff) | |
| parent | Clear the input line after activating autocomplete (diff) | |
| download | discoin-63832688939f5445289621d0c01f27411253386c.tar.xz discoin-63832688939f5445289621d0c01f27411253386c.zip | |
Merge #7772: Clear the input line after activating autocomplete
ae2156f Clear the input line after activating autocomplete (Pavel JanÃk)
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/rpcconsole.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 42112c42f..d8647d902 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -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); } } |