forked from qt-creator/qt-creator
QmlDesigner: Latest effects do not require a custom parser
This also fixes the double rendering issue. Change-Id: I8562fb0c4f3c0a57373e117f7a3deb44c71a37de Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
@@ -2456,11 +2456,8 @@ bool NodeMetaInfo::usesCustomParser() const
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
auto type = simplifiedTypeName();
|
auto type = simplifiedTypeName();
|
||||||
return type == "VisualItemModel"
|
return type == "VisualItemModel" || type == "VisualDataModel" || type == "ListModel"
|
||||||
|| type == "VisualDataModel"
|
|| type == "XmlListModel";
|
||||||
|| type == "ListModel"
|
|
||||||
|| type == "XmlListModel"
|
|
||||||
|| type == "DesignEffect";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user