From 58d5487eb900c0eac055e72449aa8eb4505e91b6 Mon Sep 17 00:00:00 2001 From: Tamara Hogenhout Date: Wed, 14 Oct 2015 16:36:12 +0200 Subject: [PATCH] The print job name changes to empty when there is no mesh. Only the machine abbreviation remains. fixes #CURA-122 --- resources/qml/SaveButton.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/qml/SaveButton.qml b/resources/qml/SaveButton.qml index c1af9c18e6..70b43ffb72 100644 --- a/resources/qml/SaveButton.qml +++ b/resources/qml/SaveButton.qml @@ -61,6 +61,13 @@ Rectangle { } } + onActivityChanged: { + if (activity == false){ + base.fileBaseName = '' + base.createFileName() + } + } + Rectangle{ id: printJobRow implicitWidth: base.width;