[GraphEditor] Prevent accessing null objects

This commit is contained in:
Candice Bentéjac 2023-01-26 12:01:57 +01:00
parent 7888ab7195
commit 4eac23a52d
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ MessageDialog {
property var node: object
width: ListView.view.width - 12
anchors.horizontalCenter: parent.horizontalCenter
anchors.horizontalCenter: parent != null ? parent.horizontalCenter : undefined
Label {
Layout.preferredWidth: 130