r20824 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 23:36:06 UTC 2016


Author: jghali
Date: Sat Jan 30 23:36:06 2016
New Revision: 20824

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20824
Log:
coverity #1350078: copy-paste error

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

Modified: trunk/Scribus/scribus/ui/smcstylewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20824&path=/trunk/Scribus/scribus/ui/smcstylewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smcstylewidget.cpp	(original)
+++ trunk/Scribus/scribus/ui/smcstylewidget.cpp	Sat Jan 30 23:36:06 2016
@@ -585,7 +585,7 @@
 	{
 		if (strokeColor_->itemText(strokeColor_->count() - 1) != "")
 			strokeColor_->addItem("");
-		strokeColor_->setCurrentIndex(fillColor_->count() - 1);
+		strokeColor_->setCurrentIndex(strokeColor_->count() - 1);
 	}
 	else
 		strokeColor_->setCurrentText(s);




More information about the scribus-commit mailing list