mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 13:17:51 -06:00
Move setting visibility presets into a model
Handling of "Custom" is still under consideration
This commit is contained in:
parent
872efd16b2
commit
080979caeb
5 changed files with 127 additions and 177 deletions
|
@ -151,10 +151,6 @@ Item
|
|||
}
|
||||
onShowSettingVisibilityProfile:
|
||||
{
|
||||
var newVisibleSettings = CuraApplication.getVisibilitySettingPreset(profileName)
|
||||
UM.Preferences.setValue("general/visible_settings", newVisibleSettings)
|
||||
UM.Preferences.setValue("general/preset_setting_visibility_choice", profileName)
|
||||
|
||||
base.showingAllSettings = false;
|
||||
base.findingSettings = false;
|
||||
filter.text = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue