r18141 by fschmid - Fixed Bug setting shade values for 4Color gradients.

scribus-commit scribus-commit at lists.scribus.net
Sun Feb 10 08:11:15 UTC 2013


Author: fschmid
Date: Sun Feb 10 08:11:15 2013
New Revision: 18141

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18141
Log:
Fixed Bug setting shade values for 4Color gradients.

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18141&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Sun Feb 10 08:11:15 2013
@@ -7625,7 +7625,7 @@
 
 void PageItem::setGradientShade2(int val)
 {
-	if(GrCol1Shade==val)
+	if(GrCol2Shade==val)
 		return;
 	if(UndoManager::undoEnabled())
 	{
@@ -7640,7 +7640,7 @@
 
 void PageItem::setGradientShade3(int val)
 {
-	if(GrCol1Shade==val)
+	if(GrCol3Shade==val)
 		return;
 	if(UndoManager::undoEnabled())
 	{
@@ -7655,7 +7655,7 @@
 
 void PageItem::setGradientShade4(int val)
 {
-	if(GrCol1Shade==val)
+	if(GrCol4Shade==val)
 		return;
 	if(UndoManager::undoEnabled())
 	{




More information about the scribus-commit mailing list