forked from qt-creator/qt-creator
QmlDesigner: Remove superfluous check
Change-Id: I633209126f6de6aa231c9ee60a529c73377c440f Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -264,9 +264,6 @@ PropertyEditorValue *PropertyEditorQmlBackend::propertyValueForName(const QStrin
|
|||||||
|
|
||||||
void PropertyEditorQmlBackend::setup(const QmlObjectNode &qmlObjectNode, const QString &stateName, const QUrl &qmlSpecificsFile, PropertyEditorView *propertyEditor)
|
void PropertyEditorQmlBackend::setup(const QmlObjectNode &qmlObjectNode, const QString &stateName, const QUrl &qmlSpecificsFile, PropertyEditorView *propertyEditor)
|
||||||
{
|
{
|
||||||
if (!qmlObjectNode.isValid())
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (qmlObjectNode.isValid()) {
|
if (qmlObjectNode.isValid()) {
|
||||||
|
|
||||||
m_contextObject->setModel(propertyEditor->model());
|
m_contextObject->setModel(propertyEditor->model());
|
||||||
|
Reference in New Issue
Block a user