Fixed bug preventing from saving G-Code.

This commit is contained in:
jpcaram
2014-12-19 13:40:14 -05:00
parent b44807d068
commit 97a1e17b0d
3 changed files with 20 additions and 23 deletions

View File

@@ -858,7 +858,7 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob):
try:
filename = QtGui.QFileDialog.getSaveFileName(caption="Export G-Code ...",
directory=self.app.last_folder)
directory=self.app.defaults["last_folder"])
except TypeError:
filename = QtGui.QFileDialog.getSaveFileName(caption="Export G-Code ...")