r19287 by jghali - fix previous commit having more changes than intended

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 26 18:12:43 UTC 2014


Author: jghali
Date: Thu Jun 26 18:12:43 2014
New Revision: 19287

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19287
Log:
fix previous commit having more changes than intended

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19287&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Thu Jun 26 18:12:43 2014
@@ -15457,8 +15457,7 @@
 		currItem = toDelete.at(i);
 		if (currItem->isWelded())
 			currItem->unWeld();
-		if (currItem->undoStateCount() <= 0)
-			delete currItem;
+		delete currItem;
 	}
 	if (activeTransaction)
 	{




More information about the scribus-commit mailing list