chiark / gitweb /
Fix start.gcode saving when the tab is opened for the first time.
authordaid <daid303@gmail.com>
Fri, 30 Mar 2012 07:49:28 +0000 (09:49 +0200)
committerdaid <daid303@gmail.com>
Fri, 30 Mar 2012 07:49:28 +0000 (09:49 +0200)
Cura/gui/alterationPanel.py

index 425c823c9dd2eb126bfdb58ce9eb370b639ddaa7..c47b7c8a275f0b80dd2df79fc1c009819a2b03e9 100644 (file)
@@ -25,6 +25,7 @@ class alterationPanel(wx.Panel):
                self.SetSizer(sizer)\r
                \r
                self.loadFile(self.alterationFileList[self.list.GetSelection()])\r
+               self.currentFile = self.list.GetSelection()\r
 \r
        def OnSelect(self, e):\r
                self.loadFile(self.alterationFileList[self.list.GetSelection()])\r