mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 21:36:03 +08:00
Re-implement showing active profile as italic
This went got removed during a merge conflict see https://github.com/Ultimaker/Cura/pull/11696 https://github.com/Ultimaker/Uranium/pull/798 CURA-9044
This commit is contained in:
parent
a7aa92427e
commit
d7cf7ee97d
@ -66,6 +66,18 @@ UM.ManagementPage
|
|||||||
// reset height to initial heigt
|
// reset height to initial heigt
|
||||||
hamburger_button.height = hamburerButtonHeight;
|
hamburger_button.height = hamburerButtonHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isActiveModelFunction: function(model, id) {
|
||||||
|
if (model.is_read_only)
|
||||||
|
{
|
||||||
|
return (model.name == Cura.MachineManager.activeQualityOrQualityChangesName) && (model.intent_category == Cura.MachineManager.activeIntentCategory);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return model.name == Cura.MachineManager.activeQualityOrQualityChangesName;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sectionRole: "section_name"
|
sectionRole: "section_name"
|
||||||
|
|
||||||
model: qualityManagementModel
|
model: qualityManagementModel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user