r17719 by craig - #10875: Apply Chelen's patch for crash

scribus-commit scribus-commit at lists.scribus.net
Sat Jul 14 17:54:48 UTC 2012


Author: craig
Date: Sat Jul 14 17:54:48 2012
New Revision: 17719

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17719
Log:
#10875: Apply Chelen's patch for crash

Modified:
    trunk/Scribus/scribus/undomanager.cpp

Modified: trunk/Scribus/scribus/undomanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17719&path=/trunk/Scribus/scribus/undomanager.cpp
==============================================================================
--- trunk/Scribus/scribus/undomanager.cpp (original)
+++ trunk/Scribus/scribus/undomanager.cpp Sat Jul 14 17:54:48 2012
@@ -527,7 +527,7 @@
 }
 
 UndoState* UndoManager::getLastUndo(){
-	UndoState* state = stacks_[currentDoc_].getNextUndo(currentUndoObjectId_);
+	UndoState* state = stacks_[currentDoc_].getNextUndo(Um::GLOBAL_UNDO_MODE);
 	return state;
 }
 




More information about the scribus-commit mailing list