From: Youness Alaoui Date: Tue, 2 Jun 2015 17:43:21 +0000 (-0400) Subject: Set the lulzbot ready page as the next one to the nozzle select page X-Git-Tag: lulzbot-15.02.1-1.01~2^2~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ecb69c0423ec653cee4ade73fe3513239e1ca1ab;p=cura.git Set the lulzbot ready page as the next one to the nozzle select page --- diff --git a/Cura/gui/configWizard.py b/Cura/gui/configWizard.py index 1ff85f5b..19cbc685 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')