r18130 by jghali - #11407 (PDF checker dont activate correct layer on frame selection): fix copy/paste error

scribus-commit scribus-commit at lists.scribus.net
Thu Feb 7 22:30:52 UTC 2013


Author: jghali
Date: Thu Feb  7 22:30:51 2013
New Revision: 18130

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18130
Log:
#11407 (PDF checker dont activate correct layer on frame selection): fix copy/paste error

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

Modified: trunk/Scribus/scribus/ui/checkDocument.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18130&path=/trunk/Scribus/scribus/ui/checkDocument.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.cpp (original)
+++ trunk/Scribus/scribus/ui/checkDocument.cpp Thu Feb  7 22:30:51 2013
@@ -149,7 +149,7 @@
 			return;
 		if (!m_Doc->masterPageMode())
 			emit selectMasterPage(masterPageItemMap[ite]->OnMasterPage);
-		m_Doc->setActiveLayer(itemMap[ite]->LayerID);
+		m_Doc->setActiveLayer(masterPageItemMap[ite]->LayerID);
 		ScCore->primaryMainWindow()->changeLayer(m_Doc->activeLayer());
 		if (masterPageItemMap[ite]->isTextFrame())
 			emit selectElement(masterPageItemMap[ite], true, posMap[ite]);




More information about the scribus-commit mailing list