mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 08:26:07 +08:00
Merge pull request #74 from lawrencejohnston/master
Fix for #73: When start.gcode is changed changes are not saved
This commit is contained in:
commit
da19930965
@ -322,7 +322,7 @@ def setAlterationFile(filename, value):
|
|||||||
if not globalProfileParser.has_section('alterations'):
|
if not globalProfileParser.has_section('alterations'):
|
||||||
globalProfileParser.add_section('alterations')
|
globalProfileParser.add_section('alterations')
|
||||||
globalProfileParser.set('alterations', filename, value.encode("utf-8"))
|
globalProfileParser.set('alterations', filename, value.encode("utf-8"))
|
||||||
saveGlobalProfile(profile.getDefaultProfilePath())
|
saveGlobalProfile(getDefaultProfilePath())
|
||||||
|
|
||||||
### Get the alteration file for output. (Used by Skeinforge)
|
### Get the alteration file for output. (Used by Skeinforge)
|
||||||
def getAlterationFileContents(filename):
|
def getAlterationFileContents(filename):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user