r20474 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Oct 19 20:22:37 UTC 2015


Author: jghali
Date: Mon Oct 19 20:22:37 2015
New Revision: 20474

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20474
Log:
#13431: Trying to delete page of .sla generated from Scribus v.1.3.8 will hang Scribus 1.5.1

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20474&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Mon Oct 19 20:22:37 2015
@@ -6359,6 +6359,7 @@
 	if (!isLoading())
 	{
 		undoManager->setUndoEnabled(false);
+		this->beginUpdate();
 		uint docItemsCount = Items->count();
 		for (uint ite = 0; ite < docItemsCount; ++ite)
 		{
@@ -6399,6 +6400,7 @@
 			}
 			item->setRedrawBounding();
 		}
+		this->endUpdate();
 		undoManager->setUndoEnabled(true);
 	}
 




More information about the scribus-commit mailing list