From 9966bbf6f4bbac498892596eac0e2877fd890160 Mon Sep 17 00:00:00 2001 From: daid Date: Fri, 30 Mar 2012 09:49:28 +0200 Subject: [PATCH] Fix start.gcode saving when the tab is opened for the first time. --- Cura/gui/alterationPanel.py | 1 + 1 file changed, 1 insertion(+) 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()]) -- 2.30.2