chiark / gitweb /
Seperate the machine settings from the preference settings
[cura.git] / Cura / gui / simpleMode.py
index 13ea7a2280f02801ea622585a11327e3fd1a5c84..5171dde1a23fc0a4b99f7dc8329eb72e917e9a8e 100644 (file)
@@ -27,7 +27,7 @@ class simpleModePanel(wx.Panel):
                self.printMaterialPLA = wx.RadioButton(printMaterialPanel, -1, 'PLA', style=wx.RB_GROUP)
                self.printMaterialABS = wx.RadioButton(printMaterialPanel, -1, 'ABS')
                self.printMaterialDiameter = wx.TextCtrl(printMaterialPanel, -1, profile.getProfileSetting('filament_diameter'))
-               if profile.getPreference('gcode_flavor') == 'UltiGCode':
+               if profile.getMachineSetting('gcode_flavor') == 'UltiGCode':
                        printMaterialPanel.Show(False)
                
                self.printSupport = wx.CheckBox(self, -1, _("Print support structure"))