diff options
author | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-06-02 20:43:21 +0300 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-06-02 20:58:47 +0300 |
commit | 3e3c5378bdf29ef78e4b932d92311e5f4454415b (patch) | |
tree | 9a5133737ff02ff04df30a108f7e4574926f6716 | |
parent | dac5654a0da693c993c0613677cea60e2c852df0 (diff) |
Set the lulzbot ready page as the next one to the nozzle select page
-rw-r--r-- | Cura/gui/configWizard.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Cura/gui/configWizard.py b/Cura/gui/configWizard.py index 1ff85f5ba3..19cbc68523 100644 --- a/Cura/gui/configWizard.py +++ b/Cura/gui/configWizard.py @@ -421,6 +421,7 @@ class MachineSelectPage(InfoPage): def OnTaz5Select(self, e): wx.wizard.WizardPageSimple.Chain(self, self.GetParent().taz5NozzleSelectPage) + wx.wizard.WizardPageSimple.Chain(self.GetParent().taz5NozzleSelectPage, self.GetParent().lulzbotReadyPage) def OnOtherSelect(self, e): wx.wizard.WizardPageSimple.Chain(self, self.GetParent().otherMachineSelectPage) @@ -1018,10 +1019,8 @@ class Taz5NozzleSelectPage(InfoPage): self.AddText(_(' ')) self.AddText(_('Please select nozzle size:')) self.Nozzle35Radio = self.AddRadioButton("0.35 mm", style=wx.RB_GROUP) - self.Nozzle35Radio.Bind(wx.EVT_RADIOBUTTON, self.OnNozzleSelect) self.Nozzle35Radio.SetValue(True) self.Nozzle50Radio = self.AddRadioButton("0.5 mm") - self.Nozzle50Radio.Bind(wx.EVT_RADIOBUTTON, self.OnNozzleSelect) self.AddText(_(' ')) self.AddSeperator() @@ -1032,9 +1031,6 @@ class Taz5NozzleSelectPage(InfoPage): def OnUrlClick(self, e): webbrowser.open(Taz5NozzleSelectPage.url) - def OnNozzleSelect(self, e): - wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotReadyPage) - def StoreData(self): if self.Nozzle35Radio.GetValue(): profile.putProfileSetting('nozzle_size', '0.35') |