mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 04:41:58 +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
|
||||
|
||||
width: ListView.view.width - 12
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.horizontalCenter: parent != null ? parent.horizontalCenter : undefined
|
||||
|
||||
Label {
|
||||
Layout.preferredWidth: 130
|
||||
|
|
|
@ -144,7 +144,7 @@ Item {
|
|||
}
|
||||
|
||||
delegate: RowLayout {
|
||||
width: parent.width
|
||||
width: parent != null ? parent.width : undefined
|
||||
height: 18
|
||||
spacing: 3
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue