From cfdb32687678aa4bb52c547f9d3eeed668f1cd41 Mon Sep 17 00:00:00 2001 From: jghali Date: Sat, 25 Feb 2012 22:16:13 +0000 Subject: #10598 : Automatic guides which refer to margins are not loaded correctly git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17337 11d20701-8431-0410-a711-e3c959e3b870 --- scribus/plugins/fileloader/scribus134format/scribus134format.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scribus/plugins/fileloader/scribus134format') diff --git a/scribus/plugins/fileloader/scribus134format/scribus134format.cpp b/scribus/plugins/fileloader/scribus134format/scribus134format.cpp index 21ded1f..ce76c8a 100644 --- a/scribus/plugins/fileloader/scribus134format/scribus134format.cpp +++ b/scribus/plugins/fileloader/scribus134format/scribus134format.cpp @@ -1542,6 +1542,7 @@ bool Scribus134Format::loadFile(const QString & fileName, const FileFormat & /* m_Doc->setActiveLayer(layerToSetActive); m_Doc->setMasterPageMode(false); m_Doc->reformPages(); + m_Doc->refreshGuides(); // Some old long doc may have page owner somewhat broken m_Doc->fixItemPageOwner(); @@ -2976,7 +2977,6 @@ bool Scribus134Format::loadPage(const QString & fileName, int pageNumber, bool M Apage->guides.addHorizontals(Apage->guides.getAutoHorizontals(Apage), GuideManagerCore::Auto); Apage->guides.addVerticals(Apage->guides.getAutoVerticals(Apage), GuideManagerCore::Auto); - } if ((pg.tagName()=="PAGEOBJECT") || (pg.tagName()=="MASTEROBJECT") || (pg.tagName()=="FRAMEOBJECT")) { -- cgit