r19586 by craig - #9766: Run reform pages after master page application

scribus-commit scribus-commit at lists.scribus.net
Wed Oct 15 19:05:24 UTC 2014


Author: craig
Date: Wed Oct 15 19:05:24 2014
New Revision: 19586

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19586
Log:
#9766: Run reform pages after master page application

Modified:
    trunk/Scribus/scribus/ui/pagepalette_pages.cpp

Modified: trunk/Scribus/scribus/ui/pagepalette_pages.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19586&path=/trunk/Scribus/scribus/ui/pagepalette_pages.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pagepalette_pages.cpp (original)
+++ trunk/Scribus/scribus/ui/pagepalette_pages.cpp Wed Oct 15 19:05:24 2014
@@ -124,8 +124,9 @@
 
 void PagePalette_Pages::pageView_applyMasterPage(QString masterpageName, int pageIndex)
 {
-	m_scMW->Apply_MasterPage(masterpageName, pageIndex);
-
+	m_scMW->Apply_MasterPage(masterpageName, pageIndex, false);
+	currView->reformPages();
+	currView->DrawNew();
 	SeItem* pageItem = pageView->GetPageItem(pageIndex);
 	if (pageItem)
 		pageItem->setIcon(createIcon(pageIndex, masterpageName, pix));




More information about the scribus-commit mailing list