r21756 by jghali - #14603: fix wrong page item owner on doc loading causing bad object positioning when inserting pages
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 6 23:44:33 UTC 2017
Author: jghali
Date: Mon Feb 6 23:44:33 2017
New Revision: 21756
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21756
Log:
#14603: fix wrong page item owner on doc loading causing bad object positioning when inserting pages
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=21756&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 Feb 6 23:44:33 2017
@@ -1807,6 +1807,9 @@
m_Doc->fixCharacterStyles();
m_Doc->fixParagraphStyles();
m_Doc->fixNotesStyles();
+
+ // #14603 : it seems we need this also for some 1.5.x docs
+ m_Doc->fixItemPageOwner();
if (m_Doc->Layers.count() == 0)
m_Doc->Layers.newLayer( QObject::tr("Background") );
More information about the scribus-commit
mailing list