r21060 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Mar 5 19:36:18 UTC 2016


Author: jghali
Date: Sat Mar  5 19:36:18 2016
New Revision: 21060

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21060
Log:
#13794: Scribus crashes while loading document

Modified:
    branches/Version14x/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp

Modified: branches/Version14x/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21060&path=/branches/Version14x/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp	(original)
+++ branches/Version14x/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp	Sat Mar  5 19:36:18 2016
@@ -2348,6 +2348,10 @@
 		break;
 	}
 
+	QString tagName = obj->tagName();
+	if ((tagName == "FRAMEOBJECT") || (tagName == "PatternItem"))
+		currItem->OwnPage = -1;
+
 	UndoManager::instance()->setUndoEnabled(false);
 	currItem->FrameType = obj->attribute("FRTYPE", "0").toInt();
 	int startArrowIndex = obj->attribute("startArrowIndex", "0").toInt();




More information about the scribus-commit mailing list