Skip to content
Permalink
Browse files

Make symbology items non-selectable (fix for #1439

git-svn-id: http://svn.osgeo.org/qgis/trunk@11200 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jul 29, 2009
1 parent 268ca48 commit baaec2051432094ff77188381ca81c8bb39a5055
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 baaec20

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