mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fix visibilty preset update
CURA-5088
This commit is contained in:
parent
90fa49b6a1
commit
f0dc138b37
2 changed files with 7 additions and 12 deletions
|
@ -78,15 +78,6 @@ UM.PreferencesPage
|
|||
{
|
||||
definitionsModel.setAllExpandedVisible(false)
|
||||
}
|
||||
|
||||
// After change set "Custom" option
|
||||
|
||||
// If already "Custom" then don't do nothing
|
||||
if (visibilityPreset.currentIndex != visibilityPreset.model.count - 1)
|
||||
{
|
||||
visibilityPreset.currentIndex = visibilityPreset.model.count - 1
|
||||
UM.Preferences.setValue("cura/active_setting_visibility_preset", visibilityPreset.model.getItem(visibilityPreset.currentIndex).id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue