forked from qt-creator/qt-creator
LSP: Use MimeType file filter for language servers
Change-Id: I13e06b5513c64e20590ab4caf15093a201025b94 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -58,8 +58,10 @@ void CompletingLineEdit::keyPressEvent(QKeyEvent *e)
|
||||
{
|
||||
if (e->key() == Qt::Key_Down && !e->modifiers()) {
|
||||
if (QCompleter *comp = completer()) {
|
||||
if (!comp->popup()->isVisible())
|
||||
if (!comp->popup()->isVisible()) {
|
||||
comp->complete();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
QLineEdit::keyPressEvent(e);
|
||||
|
||||
Reference in New Issue
Block a user