Skip to content

Commit

Permalink
Fix loading settings list again
Browse files Browse the repository at this point in the history
Oops.
  • Loading branch information
Ghostkeeper committed Aug 15, 2019
1 parent 0025e29 commit 242cc58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CuraSettingsGuide.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ def load_window(self):
Do all the things necessary to start using the guide.
"""
#Load a special definition container that also contains extra entries for the guide entries that are not settings.
settings_guide_filename = "settings_guide_definitions_{n}.def.json".format(n=DefinitionContainer.Version * 1000000 + CuraApplication.SettingVersion)
with open(os.path.join(os.path.dirname(__file__), "resources", settings_guide_filename)) as f:
with open(os.path.join(os.path.dirname(__file__), "resources", "settings_guide_definitions.def.json")) as f:
definitions_serialised = f.read()
definition_container = DefinitionContainer("settings_guide_definitions")
definition_container.deserialize(definitions_serialised)
Expand Down

0 comments on commit 242cc58

Please sign in to comment.