r14912 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:19 CET 2010


Revision: 14912
Author: fschmid
Date: 2010-03-20T08:40:13.954898Z
Commit message: Fixed Bug #3112: "Not obvious how to allow PDF/X-3 export."

Changeset: 
M  /branches/Version135/Scribus/scribus/tabpdfoptions.cpp

Diffs:
Index: scribus/tabpdfoptions.cpp
===================================================================
--- scribus/tabpdfoptions.cpp	(revision 14911)
+++ scribus/tabpdfoptions.cpp	(revision 14912)
@@ -1308,7 +1308,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