mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Refactor code
CURA-3710
This commit is contained in:
parent
1801f1f27c
commit
367e50669d
7 changed files with 21 additions and 21 deletions
|
@ -154,7 +154,7 @@ UM.PreferencesPage
|
|||
currentIndex:
|
||||
{
|
||||
// Load previously selected preset.
|
||||
var text = UM.Preferences.getValue("general/visible_settings_preset_choice");
|
||||
var text = UM.Preferences.getValue("general/preset_setting_visibility_choice");
|
||||
|
||||
|
||||
|
||||
|
@ -178,7 +178,7 @@ UM.PreferencesPage
|
|||
|
||||
var newVisibleSettings = CuraApplication.getVisibilitySettingPreset(model.get(index).text)
|
||||
UM.Preferences.setValue("general/visible_settings", newVisibleSettings)
|
||||
UM.Preferences.setValue("general/visible_settings_preset_choice", model.get(index).text)
|
||||
UM.Preferences.setValue("general/preset_setting_visibility_choice", model.get(index).text)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue