From b718f47893a7aa3c4d2daec8488cdf3c3c773ea1 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 28 Feb 2020 14:46:11 +0100 Subject: [PATCH] LanguageClient: Request symbols in outline combo box constructor Change-Id: Ib7bc4f828b6e3abc4344ff96b7561015ac0cf66f Reviewed-by: Christian Stenger --- src/plugins/languageclient/languageclientoutline.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/languageclient/languageclientoutline.cpp b/src/plugins/languageclient/languageclientoutline.cpp index 550e391dda4..96555092294 100644 --- a/src/plugins/languageclient/languageclientoutline.cpp +++ b/src/plugins/languageclient/languageclientoutline.cpp @@ -299,6 +299,8 @@ OutlineComboBox::OutlineComboBox(Client *client, TextEditor::BaseTextEditor *edi connect(m_editorWidget, &TextEditor::TextEditorWidget::cursorPositionChanged, this, &OutlineComboBox::updateEntry); connect(this, QOverload::of(&QComboBox::activated), this, &OutlineComboBox::activateEntry); + + requestSymbols(); } void OutlineComboBox::updateModel(const DocumentUri &resultUri, const DocumentSymbolsResult &result)