r20426 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Sep 26 19:38:23 UTC 2015


Author: jghali
Date: Sat Sep 26 19:38:23 2015
New Revision: 20426

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20426
Log:
workaround for buggy selection behavior in PP color list

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

Modified: trunk/Scribus/scribus/ui/cpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20426&path=/trunk/Scribus/scribus/ui/cpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/cpalette.cpp	(original)
+++ trunk/Scribus/scribus/ui/cpalette.cpp	Sat Sep 26 19:38:23 2015
@@ -253,7 +253,6 @@
 	if (!currentItem)
 		return;
 
-	updateCList();
 	showOverprint(currentItem->doOverprint ? 1 : 0);
 	showColorValues(currentItem->lineColor(), currentItem->fillColor(), currentItem->lineShade(), currentItem->fillShade());
 	showGradient(currentItem->gradientType());
@@ -377,6 +376,7 @@
 		currentUnit = doc->unitIndex();
 
 		updateColorList();
+		updateCList();
 
 		connect(this, SIGNAL(NewPen(QString))      , doc, SLOT(itemSelection_SetItemPen(QString)));
 		connect(this, SIGNAL(NewBrush(QString))    , doc, SLOT(itemSelection_SetItemBrush(QString)));




More information about the scribus-commit mailing list