Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Jul 29, 2009
1 parent 268ca48 commit baaec20
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 baaec20

Please sign in to comment.