Change default print job name to 'Untitled'

This is more common for documents that don't yet have a title in many applications.
This commit is contained in:
Ghostkeeper 2018-08-27 09:41:19 +02:00
parent aa03fabc57
commit eac70dc06d
No known key found for this signature in database
GPG Key ID: 5252B696FB5E7C7A
2 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ class PrintInformation(QObject):
def _updateJobName(self):
if self._base_name == "":
self._job_name = "unnamed"
self._job_name = "Untitled"
self._is_user_specified_job_name = False
self.jobNameChanged.emit()
return

View File

@ -81,7 +81,7 @@ Item {
text: PrintInformation.jobName
horizontalAlignment: TextInput.AlignRight
onEditingFinished: {
var new_name = text == "" ? catalog.i18nc("@text Print job name", "unnamed") : text;
var new_name = text == "" ? catalog.i18nc("@text Print job name", "Untitled") : text;
PrintInformation.setJobName(new_name, true);
printJobTextfield.focus = false;
}