Disable close button while updating firmware

This commit is contained in:
fieldOfView 2018-10-02 17:14:22 +02:00
parent 3908781f6f
commit b4e186ce78

View file

@ -82,7 +82,7 @@ UM.Dialog
Button
{
text: catalog.i18nc("@action:button","Close");
enabled: manager.firmwareUpdateCompleteStatus;
enabled: manager.firmwareUpdateState != 1;
onClicked: base.visible = false;
}
]