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,6 +397,7 @@ void LanguageClientManager::editorOpened(Core::IEditor *editor)
|
|||||||
if (!widget)
|
if (!widget)
|
||||||
return;
|
return;
|
||||||
if (Client *client = clientForDocument(widget->textDocument()))
|
if (Client *client = clientForDocument(widget->textDocument()))
|
||||||
|
if (client->reachable())
|
||||||
client->cursorPositionChanged(widget);
|
client->cursorPositionChanged(widget);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user