Commit 653bc32f authored by Aurindam Jana's avatar Aurindam Jana
Browse files

QmlJSScriptConsole: Connect to QmlAdapter:selectionChanged()



Change-Id: I008838a290165b71953fc7dd3e50b618bb681eca
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
parent 12f7a439
...@@ -209,6 +209,8 @@ void QmlJSScriptConsole::setInferiorStopped(bool inferiorStopped) ...@@ -209,6 +209,8 @@ void QmlJSScriptConsole::setInferiorStopped(bool inferiorStopped)
void QmlJSScriptConsole::setQmlAdapter(QmlAdapter *adapter) void QmlJSScriptConsole::setQmlAdapter(QmlAdapter *adapter)
{ {
d->adapter = adapter; d->adapter = adapter;
if (adapter)
connect(adapter, SIGNAL(selectionChanged()), this, SLOT(onSelectionChanged()));
clear(); clear();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment