From 9258501a3a82658f9625e4e14b9c40d22fa9f792 Mon Sep 17 00:00:00 2001 From: Tamara Hogenhout Date: Wed, 7 Oct 2015 14:56:28 +0200 Subject: [PATCH] Makes that only the name of the first model is displayed in the Printjob Name textfield. fixes #224 --- resources/qml/SaveButton.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/qml/SaveButton.qml b/resources/qml/SaveButton.qml index e104651ca4..7254711917 100644 --- a/resources/qml/SaveButton.qml +++ b/resources/qml/SaveButton.qml @@ -54,8 +54,10 @@ Rectangle { Connections { target: openDialog onHasMesh: { - base.fileBaseName = name - base.createFileName() + if(base.fileBaseName == ''){ + base.fileBaseName = name + base.createFileName() + } } }