Fixed #202
This commit is contained in:
1 parent
b34ba2fa22
commit
cb9b85c8d3
3 files changed
+5
-4
No files matched your search
@@ -85,6 +85,7 @@ class InfoPage(wx.wizard.WizardPageSimple):
|
||||
button = wx.Button(self, -1, buttonText)
|
||||
self.GetSizer().Add(text, pos=(self.rowNr, 0), span=(1,1), flag=wx.LEFT)
|
||||
self.GetSizer().Add(button, pos=(self.rowNr, 1), span=(1,1), flag=wx.LEFT)
|
||||
self.rowNr += 1
|
||||
return text, button
|
||||
|
||||
def AllowNext(self):
|
||||
|
||||
@@ -206,8 +206,8 @@ class mainWindow(configBase.configWindowBase):
|
||||
|
||||
# load and slice buttons.
|
||||
loadButton = wx.Button(self, -1, 'Load Model')
|
||||
sliceButton = wx.Button(self, -1, 'Slice to GCode')
|
||||
printButton = wx.Button(self, -1, 'Print GCode')
|
||||
sliceButton = wx.Button(self, -1, 'Prepare print')
|
||||
printButton = wx.Button(self, -1, 'Print')
|
||||
self.Bind(wx.EVT_BUTTON, lambda e: self._showModelLoadDialog(1), loadButton)
|
||||
self.Bind(wx.EVT_BUTTON, self.OnSlice, sliceButton)
|
||||
self.Bind(wx.EVT_BUTTON, self.OnPrint, printButton)
|
||||
|
||||
@@ -100,8 +100,8 @@ class simpleModeWindow(configBase.configWindowBase):
|
||||
|
||||
# load and slice buttons.
|
||||
loadButton = wx.Button(self, -1, 'Load Model')
|
||||
sliceButton = wx.Button(self, -1, 'Slice to GCode')
|
||||
printButton = wx.Button(self, -1, 'Print GCode')
|
||||
sliceButton = wx.Button(self, -1, 'Prepare print')
|
||||
printButton = wx.Button(self, -1, 'Print')
|
||||
self.Bind(wx.EVT_BUTTON, self.OnLoadModel, loadButton)
|
||||
self.Bind(wx.EVT_BUTTON, self.OnSlice, sliceButton)
|
||||
self.Bind(wx.EVT_BUTTON, self.OnPrint, printButton)
|
||||
|
||||
Reference in new issue
Block a user