diff options
| author | Pavel Janík <[email protected]> | 2016-03-30 20:26:10 +0200 |
|---|---|---|
| committer | Pavel Janík <[email protected]> | 2016-03-30 20:26:10 +0200 |
| commit | ae2156f1235eb3c5ba294544ab04b5dd7509c7ce (patch) | |
| tree | 8234201e655ec3df8192715e3175af20ffb524a3 /src | |
| parent | Merge #7648: BIP9 versionbits softfork for BIP68, BIP112 and BIP113 (diff) | |
| download | discoin-ae2156f1235eb3c5ba294544ab04b5dd7509c7ce.tar.xz discoin-ae2156f1235eb3c5ba294544ab04b5dd7509c7ce.zip | |
Clear the input line after activating autocomplete
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); } } |