r21810 by jghali - small addition to r21808 for safety vs legacy docs

scribus-commit scribus-commit at lists.scribus.net
Sat Mar 4 22:19:31 UTC 2017


Author: jghali
Date: Sat Mar  4 22:19:31 2017
New Revision: 21810

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21810
Log:
small addition to r21808 for safety vs legacy docs

Modified:
    trunk/Scribus/scribus/ui/prefs_documentsetup.cpp

Modified: trunk/Scribus/scribus/ui/prefs_documentsetup.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21810&path=/trunk/Scribus/scribus/ui/prefs_documentsetup.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_documentsetup.cpp	(original)
+++ trunk/Scribus/scribus/ui/prefs_documentsetup.cpp	Sat Mar  4 22:19:31 2017
@@ -268,6 +268,8 @@
 	QStringList insertTrList(ps.activeSizeTRList());
 
 	prefsPageSizeName = prefsData->docSetupPrefs.pageSize;
+	if (prefsPageSizeName == CommonStrings::trCustomPageSize)
+		prefsPageSizeName = CommonStrings::customPageSize;
 	if ((prefsPageSizeName != CommonStrings::customPageSize) &&
 		(prefsPageSizeName != CommonStrings::trCustomPageSize) &&
 		(insertList.indexOf(prefsPageSizeName) == -1))




More information about the scribus-commit mailing list