r20825 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 23:37:26 UTC 2016


Author: jghali
Date: Sat Jan 30 23:37:26 2016
New Revision: 20825

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

Modified:
    branches/Version14x/Scribus/scribus/smcstylewidget.cpp

Modified: branches/Version14x/Scribus/scribus/smcstylewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20825&path=/branches/Version14x/Scribus/scribus/smcstylewidget.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/smcstylewidget.cpp	(original)
+++ branches/Version14x/Scribus/scribus/smcstylewidget.cpp	Sat Jan 30 23:37:26 2016
@@ -522,7 +522,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