Commit 960d092d authored by Eike Ziller's avatar Eike Ziller
Browse files

QmlLiveTextPreview: Actually use a signal that is fired at text changes



BaseTextEditorWidget::changed only fires for modification state and file
path changes (and will be removed anyhow)

Change-Id: Id1f0ad40adf02ae3949a6ac8500f9de387a9f061
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
parent 2c5c1605
......@@ -397,7 +397,7 @@ void QmlLiveTextPreview::associateEditor(Core::IEditor *editor)
if (!m_editors.contains(editWidget)) {
m_editors << editWidget;
if (m_inspectorAdapter) {
connect(editWidget, SIGNAL(changed()), SLOT(editorContentsChanged()));
connect(editWidget, SIGNAL(textChanged()), SLOT(editorContentsChanged()));
connect(editWidget,
SIGNAL(selectedElementsChanged(QList<QmlJS::AST::UiObjectMember*>,QString)),
SLOT(changeSelectedElements(QList<QmlJS::AST::UiObjectMember*>,QString)));
......
Supports Markdown
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