summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2017-12-11 14:51:05 +0100
committerTim Jenssen <tim.jenssen@qt.io>2017-12-11 14:51:55 +0000
commit372d37d40af813b77507c69eb955b9517c5d978b (patch)
treedaecb9b1773cf4f3c483e6924c6b10ea0b88497f /src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp
parent44c02b52a3b12b0ed2485ce38ad824bec9764a97 (diff)
downloadqt-creator-372d37d40af813b77507c69eb955b9517c5d978b.tar.gz
QmlDesigner: Do not show bounding rectangles by default
The bounding rectangles can be confusing and break WYSIWYG. Therefore we disable them by default. Change-Id: I3713e668b916607670255715e0d41f76a789b34e Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp')
-rw-r--r--src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp b/src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp
index 3c2b516746..abb2c828c8 100644
--- a/src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp
@@ -107,7 +107,7 @@ FormEditorWidget::FormEditorWidget(FormEditorView *view)
m_showBoundingRectAction->setShortcut(Qt::Key_A);
m_showBoundingRectAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
m_showBoundingRectAction->setCheckable(true);
- m_showBoundingRectAction->setChecked(true);
+ m_showBoundingRectAction->setChecked(false);
m_showBoundingRectAction->setIcon(Utils::Icons::BOUNDING_RECT.icon());
addAction(m_showBoundingRectAction.data());