trim trailing linebreak

This commit is contained in:
Juergen Spitzmueller 2023-02-27 12:15:18 +01:00
parent 3c88f7ef10
commit 5cb8733660

View File

@ -4630,7 +4630,7 @@ void GuiDocument::paramsToDialog()
toqstr(pdf.quoted_options)); toqstr(pdf.quoted_options));
pdfSupportModule->metadataTE->setPlainText( pdfSupportModule->metadataTE->setPlainText(
toqstr(bp_.document_metadata)); toqstr(rtrim(bp_.document_metadata, "\n")));
// change tracking // change tracking
changesModule->trackChangesCB->setChecked(bp_.track_changes); changesModule->trackChangesCB->setChecked(bp_.track_changes);