r20534 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Thu Nov 5 21:46:51 UTC 2015


Author: jghali
Date: Thu Nov  5 21:46:51 2015
New Revision: 20534

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20534
Log:
#13431 backport: Trying to delete page of .sla will hang Scribus

Modified:
    branches/Version14x/Scribus/scribus/scribusdoc.cpp

Modified: branches/Version14x/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20534&path=/branches/Version14x/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribusdoc.cpp	(original)
+++ branches/Version14x/Scribus/scribus/scribusdoc.cpp	Thu Nov  5 21:46:51 2015
@@ -4643,6 +4643,7 @@
 	if (!isLoading())
 	{
 		undoManager->setUndoEnabled(false);
+		this->beginUpdate();
 		uint docItemsCount=Items->count();
 		for (uint ite = 0; ite < docItemsCount; ++ite)
 		{
@@ -4662,6 +4663,7 @@
 			}
 			item->setRedrawBounding();
 		}
+		this->endUpdate();
 		undoManager->setUndoEnabled(true);
 	}
 




More information about the scribus-commit mailing list