mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix: per model settings validation
CURA-4972
This commit is contained in:
parent
94ca4fffe3
commit
ed7dec0cae
5 changed files with 108 additions and 2 deletions
|
@ -54,6 +54,12 @@ Item {
|
|||
id: meshTypeSelection
|
||||
style: UM.Theme.styles.combobox
|
||||
onActivated: {
|
||||
|
||||
console.log("!!!!!!!!!!!!!!!!!!!")
|
||||
|
||||
if(model.get(index).type == "anti_overhang_mesh")
|
||||
console.log("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
|
||||
|
||||
UM.ActiveTool.setProperty("MeshType", model.get(index).type)
|
||||
}
|
||||
model: ListModel
|
||||
|
@ -240,7 +246,10 @@ Item {
|
|||
width: Math.round(UM.Theme.getSize("setting").height / 2)
|
||||
height: UM.Theme.getSize("setting").height
|
||||
|
||||
onClicked: addedSettingsModel.setVisible(model.key, false)
|
||||
onClicked: {
|
||||
UM.ActiveTool.triggerAction("unsubscribeForSettingValidation", model.key)
|
||||
addedSettingsModel.setVisible(model.key, false)
|
||||
}
|
||||
|
||||
style: ButtonStyle
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue