diff --git a/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp b/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp index b1aaeb3fe77..014fc2d4596 100644 --- a/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp +++ b/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp @@ -368,8 +368,10 @@ public: static bool isListViewInBaseState(const SelectionContext &selectionState) { return selectionState.isInBaseState() && selectionState.singleNodeIsSelected() - && selectionState.currentSingleSelectedNode().metaInfo().isSubclassOf( - "QtQuick.ListView"); + && (selectionState.currentSingleSelectedNode().metaInfo().isSubclassOf( + "QtQuick.ListView") + || selectionState.currentSingleSelectedNode().metaInfo().isSubclassOf( + "QtQuick.GridView")); } bool isEnabled(const SelectionContext &) const override { return true; }