mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Fix selecting presets from menu
Switching back to Custom is not yet implemented, and the menu selection does not yet change if the preset is changed in the preferences
This commit is contained in:
parent
69d7bf4130
commit
872efd16b2
2 changed files with 53 additions and 8 deletions
|
@ -151,6 +151,10 @@ 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 = "";
|
||||
|
@ -243,7 +247,10 @@ Item
|
|||
}
|
||||
else
|
||||
{
|
||||
definitionsModel.expanded = expandedCategories;
|
||||
if(expandedCategories)
|
||||
{
|
||||
definitionsModel.expanded = expandedCategories;
|
||||
}
|
||||
definitionsModel.showAncestors = false;
|
||||
definitionsModel.showAll = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue