r14602 by jghali - #8756 : Error when entering Document Setup and freezes after apply any change Temporarily disable undo when calling ScribusDoc->reformPages()
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 1 19:47:19 CET 2010
Revision: 14602
Author: jghali
Date: 2010-01-30T22:58:10.348706Z
Commit message: #8756 : Error when entering Document Setup and freezes after apply any change
Temporarily disable undo when calling ScribusDoc->reformPages()
Changeset:
M /trunk/Scribus/scribus/scribusdoc.cpp
Diffs:
Index: scribus/scribusdoc.cpp
===================================================================
--- scribus/scribusdoc.cpp (revision 14601)
+++ scribus/scribusdoc.cpp (revision 14602)
@@ -4388,6 +4388,7 @@
}
if (!isLoading())
{
+ undoManager->setUndoEnabled(false);
uint docItemsCount=Items->count();
for (uint ite = 0; ite < docItemsCount; ++ite)
{
@@ -4417,6 +4418,7 @@
}
item->setRedrawBounding();
}
+ undoManager->setUndoEnabled(true);
}
if(isLoading() && is12doc)
More information about the scribus-commit
mailing list