Skip to content
Permalink
Browse files

Make symbology items non-selectable (fix for #1439

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11200 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jul 29, 2009
1 parent 356555b commit 8e68ed8cd5d2658fe8ba50928f931050e1db6fda
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/legend/qgslegendsymbologyitem.cpp
@@ -27,6 +27,7 @@ QgsLegendSymbologyItem::QgsLegendSymbologyItem( QTreeWidgetItem * theItem, QStri
mLegend( 0 )
{
mType = LEGEND_SYMBOL_ITEM;
setFlags( Qt::ItemIsEnabled );
}

QgsLegendSymbologyItem::QgsLegendSymbologyItem( int pixmapWidth, int pixmapHeight )
@@ -36,6 +37,7 @@ QgsLegendSymbologyItem::QgsLegendSymbologyItem( int pixmapWidth, int pixmapHeigh
mLegend( 0 )
{
mType = LEGEND_SYMBOL_ITEM;
setFlags( Qt::ItemIsEnabled );
}

QgsLegendSymbologyItem::~QgsLegendSymbologyItem()

0 comments on commit 8e68ed8

Please sign in to comment.
You can’t perform that action at this time.