Fix mesh_type being reset when adding a setting

This commit is contained in:
Jaime van Kessel 2019-12-23 11:11:09 +01:00
parent 4ce086d5c3
commit 5061a36aba
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 2 additions and 3 deletions

View file

@ -20,10 +20,7 @@ UM.Dialog
// force updating the model to sync it with addedSettingsModel
if (visible)
{
// Set skip setting, it will prevent from resetting selected mesh_type
contents.model.visibilityHandler.addSkipResetSetting(currentMeshType)
listview.model.forceUpdate()
updateFilter()
}
}