From: Youness Alaoui Date: Fri, 6 Mar 2015 17:09:54 +0000 (-0500) Subject: Use same quickprint settings for lulzbot_TAZ and lulzbot_TAZ_4 X-Git-Tag: lulzbot-15.02.1-1.01~45 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=81831e568dc116305da0ebc06b6f81e7e5abd070;p=cura.git Use same quickprint settings for lulzbot_TAZ and lulzbot_TAZ_4 Fixes issue #89 --- diff --git a/Cura/gui/simpleMode.py b/Cura/gui/simpleMode.py index 2879020e..903f0af8 100644 --- a/Cura/gui/simpleMode.py +++ b/Cura/gui/simpleMode.py @@ -18,6 +18,14 @@ class simpleModePanel(wx.Panel): self._print_material_options = [] self._print_other_options = [] + # This is a hack around an issue where the machine type in the wizard + # changed and causes some people to have it set to lulzbot_TAZ and some + # people have it set to lulzbot_TAZ_4. + # To avoid duplicating the custom settings overrides, we just change the + # machine_type instead. + if profile.getMachineSetting('machine_type') == 'lulzbot_TAZ': + profile.putMachineSetting('machine_type', 'lulzbot_TAZ_4') + printTypePanel = wx.Panel(self) for filename in resources.getSimpleModeProfiles(): cp = configparser.ConfigParser()