Merge pull request #3218 from Ultimaker/CURA-3710_setting_visibility_preset

CURA-3710 Add preset setting visibility files
This commit is contained in:
Ian Paschal 2018-02-05 09:51:52 +01:00 committed by GitHub
commit f627c97a92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 940 additions and 56 deletions

View file

@ -453,6 +453,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
Logger.log("w", "Workspace did not contain visible settings. Leaving visibility unchanged")
else:
global_preferences.setValue("general/visible_settings", visible_settings)
global_preferences.setValue("general/preset_setting_visibility_choice", "Custom")
categories_expanded = temp_preferences.getValue("cura/categories_expanded")
if categories_expanded is None: