Skip to content

Commit

Permalink
Make symbology items non-selectable (fix for #1439
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11200 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 29, 2009
1 parent 356555b commit 8e68ed8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/legend/qgslegendsymbologyitem.cpp
Expand Up @@ -27,6 +27,7 @@ QgsLegendSymbologyItem::QgsLegendSymbologyItem( QTreeWidgetItem * theItem, QStri
mLegend( 0 )
{
mType = LEGEND_SYMBOL_ITEM;
setFlags( Qt::ItemIsEnabled );
}

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

QgsLegendSymbologyItem::~QgsLegendSymbologyItem()
Expand Down

0 comments on commit 8e68ed8

Please sign in to comment.