r17746 by jghali - #10987: Crash on clicking on master page item in Preflight Verifier

scribus-commit scribus-commit at lists.scribus.net
Wed Aug 1 19:32:43 UTC 2012


Author: jghali
Date: Wed Aug  1 19:32:43 2012
New Revision: 17746

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17746
Log:
#10987: Crash on clicking on master page item in Preflight Verifier

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

Modified: trunk/Scribus/scribus/ui/checkDocument.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17746&path=/trunk/Scribus/scribus/ui/checkDocument.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.cpp (original)
+++ trunk/Scribus/scribus/ui/checkDocument.cpp Wed Aug  1 19:32:43 2012
@@ -147,7 +147,7 @@
 			return;
 		if (!m_Doc->masterPageMode())
 			emit selectMasterPage(masterPageItemMap[ite]->OnMasterPage);
-		if (itemMap[ite]->isTextFrame())
+		if (masterPageItemMap[ite]->isTextFrame())
 			emit selectElement(masterPageItemMap[ite], true, posMap[ite]);
 		else
 			emit selectElementByItem(masterPageItemMap[ite], true);




More information about the scribus-commit mailing list