chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
37ca008
)
Set the lulzbot ready page as the next one to the nozzle select page
author
Youness Alaoui
<kakaroto@kakaroto.homelinux.net>
Tue, 2 Jun 2015 17:43:21 +0000
(13:43 -0400)
committer
nickthetait
<tait@alephobjects.com>
Tue, 2 Jun 2015 18:34:07 +0000
(12:34 -0600)
Cura/gui/configWizard.py
patch
|
blob
|
history
diff --git
a/Cura/gui/configWizard.py
b/Cura/gui/configWizard.py
index 1ff85f5ba3c4f72b8566022b830dff807c276297..19cbc68523cef759db31d9883282bea3c08902e2 100644
(file)
--- 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)
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)
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.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.Nozzle35Radio.SetValue(True)
self.Nozzle50Radio = self.AddRadioButton("0.5 mm")
- self.Nozzle50Radio.Bind(wx.EVT_RADIOBUTTON, self.OnNozzleSelect)
self.AddText(_(' '))
self.AddSeperator()
self.AddText(_(' '))
self.AddSeperator()
@@
-1032,9
+1031,6
@@
class Taz5NozzleSelectPage(InfoPage):
def OnUrlClick(self, e):
webbrowser.open(Taz5NozzleSelectPage.url)
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')
def StoreData(self):
if self.Nozzle35Radio.GetValue():
profile.putProfileSetting('nozzle_size', '0.35')