forked from qt-creator/qt-creator
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:
@@ -42,6 +42,7 @@ import QtQuick 2.1
|
|||||||
import HelperWidgets 2.0
|
import HelperWidgets 2.0
|
||||||
|
|
||||||
ButtonRow {
|
ButtonRow {
|
||||||
|
enabled: anchorBackend.hasParent
|
||||||
id: buttonRow
|
id: buttonRow
|
||||||
|
|
||||||
ButtonRowButton {
|
ButtonRowButton {
|
||||||
|
Reference in New Issue
Block a user