Skip to content
Snippets Groups Projects
Commit 4cbbe9ca authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlInspector: Fix regression making the observer unusable

We've to wait with reloadEngines until the services are actually
enabled.
parent 83e2a378
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,6 @@ void ClientProxy::connectToServer()
connect(m_designClient, SIGNAL(contextPathUpdated(QStringList)),
SIGNAL(contextPathUpdated(QStringList)));
reloadEngines();
updateConnected();
}
......@@ -504,6 +503,7 @@ void ClientProxy::updateConnected()
m_isConnected = isConnected;
if (isConnected) {
emit connected();
reloadEngines();
} else {
emit disconnected();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment