Remove QML warning at startup

Using undefined works properly, but generates a warning. The other solution is to set the maximum size to something knowingly big.

CURA-10896
This commit is contained in:
Erwan MATHIEU 2023-09-01 16:11:53 +02:00
parent cb3d22a2c0
commit 15243fd6f9

View File

@ -826,8 +826,8 @@ UM.MainWindow
{
id: addMachineDialog
title: catalog.i18nc("@title:window", "Add Printer")
maximumWidth: undefined
maximumHeight: undefined
maximumWidth: Screen.width * 2
maximumHeight: Screen.height * 2
model: CuraApplication.getAddPrinterPagesModel()
progressBarVisible: false
}