chiark / gitweb /
Merge tag '15.01-RC7' into upstream
[cura.git] / Cura / gui / mainWindow.py
index 16c215c898f63c55e24e8c714b6c8be0ec23ad77..9808ae25658adc38085edd91a47e235cfea18192 100644 (file)
@@ -373,11 +373,8 @@ 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_4' or \
-                  profile.getMachineSetting('machine_type') == 'lulzbot_TAZ_5' or \
-                  profile.getMachineSetting('machine_type') == 'lulzbot_TAZ':
+               if profile.getMachineSetting('machine_type').startswith('ultimaker2') or \
+                  profile.getMachineSetting('machine_type').startswith('lulzbot_'):
                        self.bedLevelWizardMenuItem.Enable(False)
                        self.headOffsetWizardMenuItem.Enable(False)
                else: