correctly show not supported when any of the extruders has a not supported profile - CURA-4451

This commit is contained in:
ChrisTerBeke 2017-10-25 15:57:53 +02:00
parent 9b62b48509
commit 88ffe0d358
6 changed files with 17 additions and 13 deletions

View file

@ -65,11 +65,7 @@ Item
function generateActiveQualityText () {
var result = catalog.i18nc("@", "No Profile Available") // default text
console.log("Cura.MachineManager.activeQualityName", Cura.MachineManager.activeQualityName)
console.log("Cura.ProfilesModel.rowCount()", Cura.ProfilesModel.rowCount())
console.log("Cura.MachineManager.isActiveQualitySupported", Cura.MachineManager.isActiveQualitySupported)
if (Cura.MachineManager.activeQualityName && Cura.ProfilesModel.rowCount() > 0) {
if (Cura.MachineManager.isActiveQualitySupported ) {
result = Cura.MachineManager.activeQualityName
if (Cura.MachineManager.activeQualityLayerHeight > 0) {