Refactor skip reset setting

CURA-4760
This commit is contained in:
Lipu Fei 2018-01-09 17:34:53 +01:00
parent 93599de642
commit 30870c5ef2
2 changed files with 8 additions and 6 deletions

View file

@ -324,8 +324,8 @@ Item {
// force updating the model to sync it with addedSettingsModel
if(visible)
{
// Set skip setting, it will prevent from restting selected mesh_type
contents.model.visibilityHandler.setSkipSetting(meshTypeSelection.model.get(meshTypeSelection.currentIndex).type)
// Set skip setting, it will prevent from resetting selected mesh_type
contents.model.visibilityHandler.addSkipResetSetting(meshTypeSelection.model.get(meshTypeSelection.currentIndex).type)
listview.model.forceUpdate()
}
}