chiark / gitweb /
Disable bed level wizard for TAZ 5 as well
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 6 Mar 2015 17:05:57 +0000 (12:05 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 6 Mar 2015 17:05:57 +0000 (12:05 -0500)
Cura/gui/mainWindow.py

index cafe19c4bd50806d953390bd7de996ce5fd83f1c..16c215c898f63c55e24e8c714b6c8be0ec23ad77 100644 (file)
@@ -373,7 +373,11 @@ class mainWindow(wx.Frame):
                        # Enabled sash
                        self.splitter.SetSashSize(4)
                self.defaultFirmwareInstallMenuItem.Enable(firmwareInstall.getDefaultFirmware() is not None)
-               if profile.getMachineSetting('machine_type') == 'ultimaker2' or profile.getMachineSetting('machine_type') == 'lulzbot_mini' or profile.getMachineSetting('machine_type') == 'lulzbot_TAZ':
+               if profile.getMachineSetting('machine_type') == 'ultimaker2' or \
+                  profile.getMachineSetting('machine_type') == 'lulzbot_mini' or \
+                  profile.getMachineSetting('machine_type') == 'lulzbot_TAZ_4' or \
+                  profile.getMachineSetting('machine_type') == 'lulzbot_TAZ_5' or \
+                  profile.getMachineSetting('machine_type') == 'lulzbot_TAZ':
                        self.bedLevelWizardMenuItem.Enable(False)
                        self.headOffsetWizardMenuItem.Enable(False)
                else: