r18967 by fschmid - Fixed Bug #12176: Open Polygon tool crashes Scribus in determined condition

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 31 19:27:24 UTC 2014


Author: fschmid
Date: Mon Mar 31 19:27:23 2014
New Revision: 18967

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18967
Log:
Fixed Bug #12176: Open Polygon tool crashes Scribus in determined condition

Modified:
    trunk/Scribus/scribus/canvasmode_nodeedit.cpp

Modified: trunk/Scribus/scribus/canvasmode_nodeedit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18967&path=/trunk/Scribus/scribus/canvasmode_nodeedit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_nodeedit.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_nodeedit.cpp Mon Mar 31 19:27:23 2014
@@ -581,7 +581,7 @@
 			}
 		}
 	}
-	if (m_doc->nodeEdit.submode == NodeEditContext::SPLIT_PATH)
+	if ((m_doc->nodeEdit.submode == NodeEditContext::SPLIT_PATH) && (m_doc->nodeEdit.ClRe2 != -1))
 	{
 		if (!m_doc->nodeEdit.EdPoints)
 			return;




More information about the scribus-commit mailing list