r19127 by jghali - #12313: Incorrect loading of groups located on masterpages

scribus-commit scribus-commit at lists.scribus.net
Mon May 19 20:43:07 UTC 2014


Author: jghali
Date: Mon May 19 20:43:07 2014
New Revision: 19127

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19127
Log:
#12313: Incorrect loading of groups located on masterpages

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19127&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp Mon May 19 20:43:07 2014
@@ -3925,7 +3925,10 @@
 				QList<PageItem*> GroupItems;
 				doc->Items = &GroupItems;
 				ItemInfo itemInfo;
-				success = readObject(doc, reader, itemInfo, baseDir, loadPage);
+				// #12313: set the 'loadPage' parameter to true in order to
+				// avoid the change of page mode and the doc item lists switch
+				// when loading groups in masterpages
+				success = readObject(doc, reader, itemInfo, baseDir, true);
 				for (int as = 0; as < GroupItems.count(); ++as)
 				{
 					PageItem* currItem = GroupItems.at(as);




More information about the scribus-commit mailing list