r19614 by jghali - fix incorrect loading of automatic font substitution option

scribus-commit scribus-commit at lists.scribus.net
Tue Oct 28 12:36:47 UTC 2014


Author: jghali
Date: Tue Oct 28 12:36:47 2014
New Revision: 19614

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19614
Log:
fix incorrect loading of automatic font substitution option

Modified:
    trunk/Scribus/scribus/prefsmanager.cpp

Modified: trunk/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19614&path=/trunk/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/prefsmanager.cpp (original)
+++ trunk/Scribus/scribus/prefsmanager.cpp Tue Oct 28 12:36:47 2014
@@ -2429,7 +2429,7 @@
 		}
 		if (dc.tagName()=="Fonts")
 		{
-			appPrefs.fontPrefs.askBeforeSubstitute = static_cast<bool>(dc.attribute("AutomaticSubst", "1").toInt());
+			appPrefs.fontPrefs.askBeforeSubstitute = static_cast<bool>(dc.attribute("AutomaticSubstitution", "1").toInt());
 		}
 		if (dc.tagName()=="Font")
 		{




More information about the scribus-commit mailing list