diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-12-12 10:40:44 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-12-16 13:22:50 +0100 |
commit | 6b05e7ce192dc62d631a4cdf9d16a6be3ae2ab0a (patch) | |
tree | 168313e73cf6ba7e097a1dc3c12f049d479206c8 /share | |
parent | c3e845550318bcdc590c8f2d2098ae9db7d96595 (diff) | |
download | qt-creator-6b05e7ce192dc62d631a4cdf9d16a6be3ae2ab0a.tar.gz |
QmlDesigner.PropertyEditor: Fixing crash
The designer was crashing when trying to anchor the root item.
The root item cannot be anchored.
Task-number: QTCREATORBUG-11078
Change-Id: I1aec1ad5b15de8c2baf3b76358d02347fb3a124c
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/AnchorButtons.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/AnchorButtons.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/AnchorButtons.qml index 55c6fae2b8..1d0e602c08 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/AnchorButtons.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/AnchorButtons.qml @@ -42,6 +42,7 @@ import QtQuick 2.1 import HelperWidgets 2.0 ButtonRow { + enabled: anchorBackend.hasParent id: buttonRow ButtonRowButton { |