lsp: restart servers after configuration change

Fix the connect to use the correct object: instead of connecting to the
FilterProxy, connect to the underlying object. That allows to restart
language servers whose configuration changed.

Change-Id: I315aefe2a846086bbf74b50f6d3257c3880749cc
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Sami Shalayel
2024-11-06 13:18:06 +01:00
parent 211ca6e27b
commit 19d200a348

View File

@@ -293,7 +293,7 @@ void LanguageClientSettingsPageWidget::applyCurrentSettings()
if (m_currentSettings.setting->applyFromSettingsWidget(m_currentSettings.widget)) {
auto index = m_settings.indexForSetting(m_currentSettings.setting);
emit m_settings.dataChanged(index, index);
emit m_settings.sourceModel()->dataChanged(index, index);
}
}