Commit ae66f316 authored by Aviator's avatar Aviator 💬

[Qt] RPCConsole Hide Completer if Enter is hit

parent b92fa1e3
......@@ -306,6 +306,7 @@ bool RPCConsole::eventFilter(QObject* obj, QEvent* event)
// forward these events to lineEdit
if(obj == autoCompleter->popup()) {
QApplication::postEvent(ui->lineEdit, new QKeyEvent(*keyevt));
autoCompleter->popup()->hide();
return true;
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment