r18575 by fschmid - Fixed Bug #11806: crash when ungrouping a welded group

scribus-commit scribus-commit at lists.scribus.net
Fri Oct 25 18:21:39 UTC 2013


Author: fschmid
Date: Fri Oct 25 18:21:39 2013
New Revision: 18575

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18575
Log:
Fixed Bug #11806: crash when ungrouping a welded group

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18575&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Fri Oct 25 18:21:39 2013
@@ -15225,6 +15225,8 @@
 	for (int i = 0; i < toDelete.count(); i++)
 	{
 		currItem = toDelete.at(i);
+		if (currItem->isWelded())
+			currItem->unWeld();
 		delete currItem;
 	}
 	if(activeTransaction)




More information about the scribus-commit mailing list