r14913 by fschmid - Fixed Bug #3112: "Not obvious how to allow PDF/X-3 export."
scribus-commit
scribus-commit at lists.scribus.net
Sat Mar 20 09:50:36 CET 2010
Revision: 14913
Author: fschmid
Date: 2010-03-20T08:41:16.539020Z
Commit message: Fixed Bug #3112: "Not obvious how to allow PDF/X-3 export."
Changeset:
M /trunk/Scribus/scribus/ui/tabpdfoptions.cpp
Diffs:
Index: scribus/ui/tabpdfoptions.cpp
===================================================================
--- scribus/ui/tabpdfoptions.cpp (revision 14912)
+++ scribus/ui/tabpdfoptions.cpp (revision 14913)
@@ -1316,7 +1316,18 @@
if (itp3.key() == tp3)
PrintProfC->setCurrentIndex(PrintProfC->count()-1);
}
- InfoString->setText(Opts.Info);
+ if (!Opts.Info.isEmpty())
+ InfoString->setText(Opts.Info);
+ else
+ {
+ if (mdoc != 0 && exporting)
+ {
+ QFileInfo fi(mdoc->DocName);
+ InfoString->setText(fi.fileName());
+ }
+ else
+ InfoString->setText( tr("InfoString"));
+ }
BleedTop->setValue(Opts.bleeds.Top*unitRatio);
BleedBottom->setValue(Opts.bleeds.Bottom*unitRatio);
BleedRight->setValue(Opts.bleeds.Right*unitRatio);
More information about the scribus-commit
mailing list