|
@@ -179,8 +179,10 @@ UM.PreferencesPage
|
|
|
onActivated:
|
|
|
{
|
|
|
// TODO What to do if user is selected "Custom from Combobox" ?
|
|
|
- if (model.get(index).text == "Custom")
|
|
|
+ if (model.get(index).text == "Custom"){
|
|
|
+ UM.Preferences.setValue("general/preset_setting_visibility_choice", model.get(index).text)
|
|
|
return
|
|
|
+ }
|
|
|
|
|
|
var newVisibleSettings = CuraApplication.getVisibilitySettingPreset(model.get(index).text)
|
|
|
UM.Preferences.setValue("general/visible_settings", newVisibleSettings)
|
|
@@ -267,7 +269,6 @@ UM.PreferencesPage
|
|
|
{
|
|
|
visibilityPreset.currentIndex = visibilityPreset.model.count - 1
|
|
|
UM.Preferences.setValue("general/preset_setting_visibility_choice", visibilityPreset.model.get(visibilityPreset.currentIndex).text)
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
}
|