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>
This commit is contained in:
Thomas Hartmann
2013-12-12 10:40:44 +01:00
parent c3e8455503
commit 6b05e7ce19

View File

@@ -42,6 +42,7 @@ import QtQuick 2.1
import HelperWidgets 2.0
ButtonRow {
enabled: anchorBackend.hasParent
id: buttonRow
ButtonRowButton {