chiark / gitweb /
Enable retraction when selecting the UM2. Fix the reset-profile which clears out...
[cura.git] / Cura / util / profile.py
index 077032088852e26a3750ac1075cec3322bc1b0ba..58075d888d088c50d108a95e8e75a70a0d37f9c6 100644 (file)
@@ -503,7 +503,7 @@ def resetProfile():
        #Read a configuration file as global config
        global settingsList
        for set in settingsList:
-               if set.isPreference():
+               if not set.isProfile():
                        continue
                set.setValue(set.getDefault())
 
@@ -516,6 +516,7 @@ def resetProfile():
                putProfileSetting('retraction_enable', 'True')
        else:
                putProfileSetting('nozzle_size', '0.5')
+               putProfileSetting('retraction_enable', 'True')
 
 def setProfileFromString(options):
        options = base64.b64decode(options)