r18631 by jghali - perform signal blocking in ScrSpinBox::showValue() more correctly
scribus-commit
scribus-commit at lists.scribus.net
Mon Dec 9 21:23:04 UTC 2013
Author: jghali
Date: Mon Dec 9 21:23:04 2013
New Revision: 18631
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18631
Log:
perform signal blocking in ScrSpinBox::showValue() more correctly
Modified:
trunk/Scribus/scribus/ui/scrspinbox.cpp
Modified: trunk/Scribus/scribus/ui/scrspinbox.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18631&path=/trunk/Scribus/scribus/ui/scrspinbox.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/scrspinbox.cpp (original)
+++ trunk/Scribus/scribus/ui/scrspinbox.cpp Mon Dec 9 21:23:04 2013
@@ -63,9 +63,9 @@
void ScrSpinBox::showValue(double val)
{
- this->blockSignals(true);
+ bool sigBlocked = this->blockSignals(true);
setValue(val);
- this->blockSignals(false);
+ this->blockSignals(sigBlocked);
}
More information about the scribus-commit
mailing list