From fa00085d1de39ecf8c881d6734e50bcc280076a9 Mon Sep 17 00:00:00 2001 From: daid303 Date: Tue, 16 Apr 2013 14:38:25 +0200 Subject: [PATCH] Add save notification. --- Cura/gui/sceneView.py | 2 ++ 1 file changed, 2 insertions(+) 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(): -- 2.30.2