Prevent syncing with invalid configurations

Contributes to issue CURA-6033.
This commit is contained in:
Ghostkeeper 2018-12-21 16:43:45 +01:00
parent a720cca5b6
commit 2277a3d316
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -216,6 +216,9 @@ Button
onClicked:
{
Cura.MachineManager.applyRemoteConfiguration(configuration)
if(isValidMaterial)
{
Cura.MachineManager.applyRemoteConfiguration(configuration);
}
}
}