mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 02:16:06 +08:00
Maybe solve issue #13. But most likely not.
This commit is contained in:
parent
c9bd9940c1
commit
bc121033e8
@ -75,10 +75,12 @@ class sliceProgessPanel(wx.Panel):
|
||||
|
||||
def OnSliceDone(self, result):
|
||||
self.progressGauge.Destroy()
|
||||
self.abortButton.Destroy()
|
||||
self.progressLog = result.progressLog
|
||||
self.sizer.Remove(self.abortButton)
|
||||
self.logButton = wx.Button(self, -1, "Show Log")
|
||||
self.abortButton = wx.Button(self, -1, "X", style=wx.BU_EXACTFIT)
|
||||
self.Bind(wx.EVT_BUTTON, self.OnShowLog, self.logButton)
|
||||
self.Bind(wx.EVT_BUTTON, self.OnAbort, self.abortButton)
|
||||
self.sizer.Add(self.logButton, 0)
|
||||
if result.returnCode == 0:
|
||||
self.statusText.SetLabel("Ready.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user