diff --git a/src/controls/Action.qml b/src/controls/Action.qml --- a/src/controls/Action.qml +++ b/src/controls/Action.qml @@ -160,7 +160,9 @@ property list __children onChildrenChanged: { for (var i in children) { - children[i].parent = root + if(children[i].hasOwnProperty("parent")) { + children[i].parent = root + } } } property Shortcut __shortcut: Shortcut {