r24813 by craig - Fix order of signal blocking code in SE

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 19 21:09:24 UTC 2022


Author: craig
Date: Wed Jan 19 21:09:24 2022
New Revision: 24813

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24813
Log:
Fix order of signal blocking code in SE

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

Modified: trunk/Scribus/scribus/ui/storyeditor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24813&path=/trunk/Scribus/scribus/ui/storyeditor.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/storyeditor.cpp	(original)
+++ trunk/Scribus/scribus/ui/storyeditor.cpp	Wed Jan 19 21:09:24 2022
@@ -1449,14 +1449,14 @@
 
 void SToolBAlign::SetAlign(int s)
 {
+	QSignalBlocker sigBlocker(GroupAlign);
 	GroupAlign->setStyle(s, GroupDirection->getStyle());
-	QSignalBlocker sigBlocker(GroupAlign);
 }
 
 void SToolBAlign::SetDirection(int s)
 {
+	QSignalBlocker sigBlocker(GroupDirection);
 	GroupDirection->setStyle(s);
-	QSignalBlocker sigBlocker(GroupDirection);
 }
 
 void SToolBAlign::SetParaStyle(const QString& s)




More information about the scribus-commit mailing list