mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Add is_experimental to Qt models and QMLs
CURA-5879
This commit is contained in:
parent
c9c7ef7d67
commit
2c8ed99281
6 changed files with 41 additions and 5 deletions
|
@ -17,7 +17,11 @@ Menu
|
|||
|
||||
MenuItem
|
||||
{
|
||||
text: (model.layer_height != "") ? model.name + " - " + model.layer_height + model.layer_height_unit : model.name
|
||||
text: {
|
||||
var full_text = (model.layer_height != "") ? model.name + " - " + model.layer_height + model.layer_height_unit : model.name;
|
||||
full_text += model.is_experimental ? " - Experimental" : "";
|
||||
return full_text;
|
||||
}
|
||||
checkable: true
|
||||
checked: Cura.MachineManager.activeQualityOrQualityChangesName == model.name
|
||||
exclusiveGroup: group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue