From: daid303 Date: Tue, 16 Apr 2013 12:38:25 +0000 (+0200) Subject: Add save notification. X-Git-Tag: 13.05~98 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fa00085d1de39ecf8c881d6734e50bcc280076a9;p=cura.git Add save notification. --- diff --git a/Cura/gui/sceneView.py b/Cura/gui/sceneView.py index c9394c79..055f598a 100644 --- a/Cura/gui/sceneView.py +++ b/Cura/gui/sceneView.py @@ -130,6 +130,7 @@ class SceneView(openglGui.glGuiPanel): filename = os.path.basename(profile.getPreference('lastFile')) filename = filename[0:filename.rfind('.')] + '.gcode' shutil.copy(self._slicer.getGCodeFilename(), drive[1] + filename) + self.notification.message("Saved as %s" % (drive[1] + filename)) else: defPath = profile.getPreference('lastFile') defPath = defPath[0:defPath.rfind('.')] + '.gcode' @@ -143,6 +144,7 @@ class SceneView(openglGui.glGuiPanel): dlg.Destroy() shutil.copy(self._slicer.getGCodeFilename(), filename) + self.notification.message("Saved as %s" % (filename)) def OnToolSelect(self, button): if self.rotateToolButton.getSelected():