forked from qt-creator/qt-creator
LanguageClient: Only send position changed signals to reachable clients
Change-Id: I0d387ea10aeba8f5f1be3d0ddb6a6ccb82e04e64 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -397,7 +397,8 @@ void LanguageClientManager::editorOpened(Core::IEditor *editor)
|
||||
if (!widget)
|
||||
return;
|
||||
if (Client *client = clientForDocument(widget->textDocument()))
|
||||
client->cursorPositionChanged(widget);
|
||||
if (client->reachable())
|
||||
client->cursorPositionChanged(widget);
|
||||
});
|
||||
});
|
||||
updateEditorToolBar(editor);
|
||||
|
Reference in New Issue
Block a user