From: daid Date: Fri, 30 Mar 2012 07:49:28 +0000 (+0200) Subject: Fix start.gcode saving when the tab is opened for the first time. X-Git-Tag: RC1~14^2~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9966bbf6f4bbac498892596eac0e2877fd890160;p=cura.git Fix start.gcode saving when the tab is opened for the first time. --- diff --git a/Cura/gui/alterationPanel.py b/Cura/gui/alterationPanel.py index 425c823c..c47b7c8a 100644 --- a/Cura/gui/alterationPanel.py +++ b/Cura/gui/alterationPanel.py @@ -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()])