r18121 by fschmid - Fixed Bug #11407: PDF checker dont activate correct layer on frame selection.
scribus-commit
scribus-commit at lists.scribus.net
Sat Feb 2 09:23:27 UTC 2013
Author: fschmid
Date: Sat Feb 2 09:23:27 2013
New Revision: 18121
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18121
Log:
Fixed Bug #11407: PDF checker dont activate correct layer on frame selection.
Modified:
trunk/Scribus/scribus/ui/checkDocument.cpp
Modified: trunk/Scribus/scribus/ui/checkDocument.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18121&path=/trunk/Scribus/scribus/ui/checkDocument.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.cpp (original)
+++ trunk/Scribus/scribus/ui/checkDocument.cpp Sat Feb 2 09:23:27 2013
@@ -113,6 +113,8 @@
if (itemMap[ite].isNull())
return;
ScCore->primaryMainWindow()->closeActiveWindowMasterPageEditor();
+ m_Doc->setActiveLayer(itemMap[ite]->LayerID);
+ ScCore->primaryMainWindow()->changeLayer(m_Doc->activeLayer());
if (itemMap[ite]->isTextFrame())
emit selectElement(itemMap[ite], true, posMap[ite]);
else
@@ -147,6 +149,8 @@
return;
if (!m_Doc->masterPageMode())
emit selectMasterPage(masterPageItemMap[ite]->OnMasterPage);
+ m_Doc->setActiveLayer(itemMap[ite]->LayerID);
+ ScCore->primaryMainWindow()->changeLayer(m_Doc->activeLayer());
if (masterPageItemMap[ite]->isTextFrame())
emit selectElement(masterPageItemMap[ite], true, posMap[ite]);
else
More information about the scribus-commit
mailing list