mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:15:53 +08:00
Disable close button while updating firmware
This commit is contained in:
parent
3908781f6f
commit
b4e186ce78
@ -82,7 +82,7 @@ UM.Dialog
|
||||
Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button","Close");
|
||||
enabled: manager.firmwareUpdateCompleteStatus;
|
||||
enabled: manager.firmwareUpdateState != 1;
|
||||
onClicked: base.visible = false;
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user