mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Translate layerview mode types
This commit is contained in:
parent
f8a3c3b0ba
commit
26fe46ce1f
1 changed files with 10 additions and 6 deletions
|
@ -160,14 +160,18 @@ Item
|
|||
ListModel // matches LayerView.py
|
||||
{
|
||||
id: layerViewTypes
|
||||
ListElement {
|
||||
text: "Material Color"
|
||||
}
|
||||
|
||||
Component.onCompleted:
|
||||
{
|
||||
layerViewTypes.append({
|
||||
text: catalog.i18nc("@title:layerview mode", "Material Color"),
|
||||
type_id: 0
|
||||
}
|
||||
ListElement {
|
||||
text: "Line Type"
|
||||
})
|
||||
layerViewTypes.append({
|
||||
text: catalog.i18nc("@title:layerview mode", "Line Type"),
|
||||
type_id: 1 // these ids match the switching in the shader
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
ComboBox
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue