Fix: filenames cut by first dot, remove only file extension because file might have dot in name

CURA-5323
This commit is contained in:
Aleksei S 2018-05-02 17:17:45 +02:00
parent 24684d5d9c
commit b1c9b04a7a
2 changed files with 9 additions and 14 deletions

View file

@ -19,18 +19,6 @@ Item {
height: childrenRect.height
Connections
{
target: backgroundItem
onHasMesh:
{
if (PrintInformation.baseName == "")
{
PrintInformation.baseName = name;
}
}
}
onActivityChanged: {
if (activity == false) {
//When there is no mesh in the buildplate; the printJobTextField is set to an empty string so it doesn't set an empty string as a jobName (which is later used for saving the file)