chiark / gitweb /
Make the platform 10mm smaller if you have dual extrusion, else you hit the screws...
[cura.git] / Cura / gui / mainWindow.py
index ad23c3c677966ec2ae305ba5120c8753d4f35af4..4081aa3253a65825d49d6c69559e817ce7eafdf5 100644 (file)
@@ -369,7 +369,7 @@ class mainWindow(wx.Frame):
                firmwareInstall.InstallFirmware()
 
        def OnCustomFirmware(self, e):
-               if profile.getPreference('machine_type') == 'ultimaker':
+               if profile.getPreference('machine_type').startswith('ultimaker'):
                        wx.MessageBox('Warning: Installing a custom firmware does not guarantee that you machine will function correctly, and could damage your machine.', 'Firmware update', wx.OK | wx.ICON_EXCLAMATION)
                dlg=wx.FileDialog(self, "Open firmware to upload", os.path.split(profile.getPreference('lastFile'))[0], style=wx.FD_OPEN|wx.FD_FILE_MUST_EXIST)
                dlg.SetWildcard("HEX file (*.hex)|*.hex;*.HEX")