[QGIS Commit] r9533 - branches/advanced_printing_branch2/src/core/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Oct 24 10:47:38 EDT 2008


Author: mhugent
Date: 2008-10-24 10:47:38 -0400 (Fri, 24 Oct 2008)
New Revision: 9533

Modified:
   branches/advanced_printing_branch2/src/core/composer/qgspaperitem.cpp
Log:
Paper item cannot be selected

Modified: branches/advanced_printing_branch2/src/core/composer/qgspaperitem.cpp
===================================================================
--- branches/advanced_printing_branch2/src/core/composer/qgspaperitem.cpp	2008-10-24 14:33:50 UTC (rev 9532)
+++ branches/advanced_printing_branch2/src/core/composer/qgspaperitem.cpp	2008-10-24 14:47:38 UTC (rev 9533)
@@ -20,11 +20,13 @@
 
 QgsPaperItem::QgsPaperItem(QgsComposition* c): QgsComposerItem(c, false)
 {
+  setFlag( QGraphicsItem::ItemIsSelectable, false );
   setZValue(0);
 }
 
 QgsPaperItem::QgsPaperItem( qreal x, qreal y, qreal width, qreal height, QgsComposition* composition ): QgsComposerItem(x, y, width, height, composition, false)
 {
+  setFlag( QGraphicsItem::ItemIsSelectable, false );
   setZValue(0);
 }
 



More information about the QGIS-commit mailing list