r15221 by cbradney - Fix color prefs reading with tag case change

scribus-commit scribus-commit at lists.scribus.net
Fri Jun 18 01:00:18 CEST 2010


Revision: 15221
Author: cbradney
Date: 2010-06-17T22:50:05.575622Z
Commit message: Fix color prefs reading with tag case change

Changeset: 
M  /trunk/Scribus/scribus/prefsmanager.cpp

Diffs:
Index: scribus/prefsmanager.cpp
===================================================================
--- scribus/prefsmanager.cpp	(revision 15220)
+++ scribus/prefsmanager.cpp	(revision 15221)
@@ -2321,7 +2321,7 @@
 				lf.setRegistrationColor(static_cast<bool>(dc.attribute("Register").toInt()));
 			else
 				lf.setRegistrationColor(false);
-			appPrefs.colorPrefs.DColors[dc.attribute("NAME")] = lf;
+			appPrefs.colorPrefs.DColors[dc.attribute("Name")] = lf;
 		}
 		if (dc.tagName() == "Gradient")
 		{




More information about the scribus-commit mailing list