chiark / gitweb /
Add missing else statements in initial wizard
authordaid303 <daid303@gmail.com>
Tue, 8 Jan 2013 09:54:56 +0000 (10:54 +0100)
committerdaid303 <daid303@gmail.com>
Tue, 8 Jan 2013 09:54:56 +0000 (10:54 +0100)
Cura/gui/configWizard.py

index b209c792a98f0777aab6bfa56d5a8d40c6ad6a51..e6ae89fbb13c7e8d0985a75363e2b414c5040b6a 100644 (file)
@@ -303,8 +303,12 @@ class SelectParts(InfoPage):
                profile.putPreference('has_heated_bed', str(self.heatedBed.GetValue()))
                if self.dualExtrusion.GetValue():
                        profile.putPreference('extruder_amount', '2')
+               else:
+                       profile.putPreference('extruder_amount', '1')
                if profile.getPreference('ultimaker_extruder_upgrade') == 'True':
                        profile.putProfileSetting('retraction_enable', 'True')
+               else:
+                       profile.putProfileSetting('retraction_enable', 'False')
 
 
 class FirmwareUpgradePage(InfoPage):