mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Actually fix QML nullptr warnings for real.
This commit is contained in:
parent
31434ebde8
commit
7a1850a87b
2 changed files with 5 additions and 6 deletions
|
|
@ -294,8 +294,8 @@ Cura.MachineAction
|
|||
MessageDialog
|
||||
{
|
||||
id: invalidIPAddressMessageDialog
|
||||
x: (parent.x + (parent.width) / 2) | 0
|
||||
y: (parent.y + (parent.height) / 2) | 0
|
||||
x: parent ? (parent.x + (parent.width) / 2) : 0
|
||||
y: parent ? (parent.y + (parent.height) / 2) : 0
|
||||
title: catalog.i18nc("@title:window", "Invalid IP address")
|
||||
text: catalog.i18nc("@text", "Please enter a valid IP address.")
|
||||
icon: StandardIcon.Warning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue