mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 21:01:59 +02:00
[GraphEditor] Prevent accessing null objects
This commit is contained in:
parent
7888ab7195
commit
4eac23a52d
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ MessageDialog {
|
||||||
property var node: object
|
property var node: object
|
||||||
|
|
||||||
width: ListView.view.width - 12
|
width: ListView.view.width - 12
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent != null ? parent.horizontalCenter : undefined
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
Layout.preferredWidth: 130
|
Layout.preferredWidth: 130
|
||||||
|
|
|
@ -144,7 +144,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
delegate: RowLayout {
|
delegate: RowLayout {
|
||||||
width: parent.width
|
width: parent != null ? parent.width : undefined
|
||||||
height: 18
|
height: 18
|
||||||
spacing: 3
|
spacing: 3
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue