From fd8b9235b029faba3591a107950cb0123ced4f79 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 5 Sep 2019 15:25:29 +0200 Subject: QmlDesigner: Remove superfluous check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I633209126f6de6aa231c9ee60a529c73377c440f Reviewed-by: Henning Gründl Reviewed-by: Thomas Hartmann --- .../qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp index ae47586641..e71ceef485 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp @@ -264,9 +264,6 @@ PropertyEditorValue *PropertyEditorQmlBackend::propertyValueForName(const QStrin void PropertyEditorQmlBackend::setup(const QmlObjectNode &qmlObjectNode, const QString &stateName, const QUrl &qmlSpecificsFile, PropertyEditorView *propertyEditor) { - if (!qmlObjectNode.isValid()) - return; - if (qmlObjectNode.isValid()) { m_contextObject->setModel(propertyEditor->model()); -- cgit v1.2.3