r22146 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Aug 26 11:38:08 UTC 2017


Author: jghali
Date: Sat Aug 26 11:38:08 2017
New Revision: 22146

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22146
Log:
fix inconsistent behavior of on-screen drawing between text frames and other frames in case of broken stroke pattern

Modified:
    trunk/Scribus/scribus/pageitem_textframe.cpp

Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22146&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp	Sat Aug 26 11:38:08 2017
@@ -3681,7 +3681,8 @@
 					if (DashValues.count() != 0)
 						p->setDash(DashValues, DashOffset);
 				}
-				if ((!patternStrokeVal.isEmpty()) && (m_Doc->docPatterns.contains(patternStrokeVal)))
+				ScPattern *strokePattern = m_Doc->checkedPattern(patternStrokeVal);
+				if (strokePattern)
 				{
 					if (patternStrokePath)
 					{




More information about the scribus-commit mailing list