r20981 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Thu Feb 11 22:08:18 UTC 2016


Author: jghali
Date: Thu Feb 11 22:08:18 2016
New Revision: 20981

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20981
Log:
fix missing update of text background combo in paragraph style widget

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

Modified: trunk/Scribus/scribus/ui/smpstylewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20981&path=/trunk/Scribus/scribus/ui/smpstylewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smpstylewidget.cpp	(original)
+++ trunk/Scribus/scribus/ui/smpstylewidget.cpp	Thu Feb 11 22:08:18 2016
@@ -266,6 +266,7 @@
 	if (m_Doc)
 	{
 		connect(m_Doc->scMW(), SIGNAL(UpdateRequest(int)), this , SLOT(handleUpdateRequest(int)));
+		fillColorCombo(m_Doc->PageColors);
 		fillNumerationsCombo();
 	}
 }
@@ -1307,6 +1308,8 @@
 
 void SMPStyleWidget::handleUpdateRequest(int updateFlags)
 {
+	if ((updateFlags & reqColorsUpdate) && m_Doc)
+		fillColorCombo(m_Doc->PageColors);
 	if (updateFlags & reqNumUpdate)
 		fillNumerationsCombo();
 }




More information about the scribus-commit mailing list