r21248 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue Apr 26 22:45:15 UTC 2016


Author: jghali
Date: Tue Apr 26 22:45:15 2016
New Revision: 21248

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21248
Log:
restore correctly signal blocking state after blockSignals() call

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

Modified: trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21248&path=/trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp	Tue Apr 26 22:45:15 2016
@@ -113,9 +113,9 @@
 	m_unitRatio = m_doc->unitRatio();
 	m_unitIndex = m_doc->unitIndex();
 
-	peOffset->blockSignals(true);
+	bool sigBlocked = peOffset->blockSignals(true);
 	peOffset->setNewUnit( m_unitIndex );
-	peOffset->blockSignals(false);
+	peOffset->blockSignals(sigBlocked);
 }
 
 void PropertyWidget_ParEffect::fillNumerationsCombo()




More information about the scribus-commit mailing list