summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-09-02 13:33:16 +0200
committerThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-09-05 12:53:04 +0000
commitca6300209368fc45174afb1e653d0c4272223867 (patch)
tree678c133f693eed7e8fcbfada7540527b39ead528 /src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
parentb12338b06dbff7aa4d00d50df963bccb5d4d5491 (diff)
downloadqt-creator-ca6300209368fc45174afb1e653d0c4272223867.tar.gz
QmlDesigner: Expose auto completion to property editor
Change-Id: If569e3f22e2ee934b9043b2e139da597686497ff Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp')
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
index b5e9a57616..472d67e523 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
@@ -100,6 +100,7 @@ PropertyEditorQmlBackend::PropertyEditorQmlBackend(PropertyEditorView *propertyE
m_dummyPropertyEditorValue->setValue(QLatin1String("#000000"));
context()->setContextProperty(QLatin1String("dummyBackendValue"), m_dummyPropertyEditorValue.data());
m_contextObject->setBackendValues(&m_backendValuesPropertyMap);
+ m_contextObject->setModel(propertyEditor->model());
m_contextObject->insertInQmlContext(context());
Theming::insertTheme(&m_themeProperties);