chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b95c5
)
Fix 1096
author
daid
<daid303@gmail.com>
Mon, 19 Jan 2015 08:57:59 +0000
(09:57 +0100)
committer
daid
<daid303@gmail.com>
Mon, 19 Jan 2015 08:57:59 +0000
(09:57 +0100)
Cura/gui/sceneView.py
patch
|
blob
|
history
diff --git
a/Cura/gui/sceneView.py
b/Cura/gui/sceneView.py
index 29193f8a6662db11b947fb288129402174029ef0..8dafcc9ac75f69e1809b8c345f7633ee2a34c2c5 100644
(file)
--- a/
Cura/gui/sceneView.py
+++ b/
Cura/gui/sceneView.py
@@
-316,6
+316,8
@@
class SceneView(openglGui.glGuiPanel):
def showSaveGCode(self):
if len(self._scene._objectList) < 1:
return
+ if not self._engine.getResult().isFinished():
+ return
dlg=wx.FileDialog(self, _("Save toolpath"), os.path.dirname(profile.getPreference('lastFile')), style=wx.FD_SAVE|wx.FD_OVERWRITE_PROMPT)
filename = self._scene._objectList[0].getName() + profile.getGCodeExtension()
dlg.SetFilename(filename)