diff --git a/src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp b/src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp index cde79f3dd96ec7d6124f9f38ebdb1fbb62d8456d..6c125bc5d4b6a585affbc5028a6fa39ff37eb6a1 100644 --- a/src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp +++ b/src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp @@ -123,7 +123,7 @@ FormEditorWidget::FormEditorWidget(FormEditorView *view) m_selectOnlyContentItemsAction->setShortcut(Qt::Key_S); m_selectOnlyContentItemsAction->setShortcutContext(Qt::WidgetWithChildrenShortcut); m_selectOnlyContentItemsAction->setCheckable(true); - m_selectOnlyContentItemsAction->setChecked(true); + m_selectOnlyContentItemsAction->setChecked(false); m_selectOnlyContentItemsAction->setIcon(QPixmap(":/icon/selection/selectonlycontentitems.png")); addAction(m_selectOnlyContentItemsAction.data()); diff --git a/src/plugins/qmldesigner/components/formeditor/selectiontool.cpp b/src/plugins/qmldesigner/components/formeditor/selectiontool.cpp index 7c42af95bb436009701ceb566441c022eea866a8..b4175612f6afd4d8527f50770c6bfc4f368811ed 100644 --- a/src/plugins/qmldesigner/components/formeditor/selectiontool.cpp +++ b/src/plugins/qmldesigner/components/formeditor/selectiontool.cpp @@ -50,7 +50,7 @@ SelectionTool::SelectionTool(FormEditorView *editorView) m_singleSelectionManipulator(editorView), m_selectionIndicator(editorView->scene()->manipulatorLayerItem()), m_resizeIndicator(editorView->scene()->manipulatorLayerItem()), - m_selectOnlyContentItems(true) + m_selectOnlyContentItems(false) { // view()->setCursor(Qt::CrossCursor); }