Fix start.gcode saving when the tab is opened for the first time.

master
daid 2012-03-30 09:49:28 +02:00
parent ab6430c843
commit 9966bbf6f4
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ class alterationPanel(wx.Panel):
self.SetSizer(sizer)
self.loadFile(self.alterationFileList[self.list.GetSelection()])
self.currentFile = self.list.GetSelection()
def OnSelect(self, e):
self.loadFile(self.alterationFileList[self.list.GetSelection()])