r19239 by jghali - #12364: Inserting a Table outside of the document area crashes Scribus

scribus-commit scribus-commit at lists.scribus.net
Sun Jun 15 13:44:32 UTC 2014


Author: jghali
Date: Sun Jun 15 13:44:32 2014
New Revision: 19239

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19239
Log:
#12364: Inserting a Table outside of the document area crashes Scribus

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19239&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Sun Jun 15 13:44:32 2014
@@ -5468,7 +5468,7 @@
 		if (activeTransaction)
 		{
 			//dont think we need this now ... newItem->checkChanges(true);
-			activeTransaction->commit(Pages->at(newItem->OwnPage)->getUName(), newItem->getUPixmap(),
+			activeTransaction->commit(target->getUName(), newItem->getUPixmap(),
 											  Um::Create + " " + newItem->getUName(),  "", Um::ICreate);
 			delete activeTransaction;
 			activeTransaction = NULL;




More information about the scribus-commit mailing list