Skip to content
Permalink
Browse files

Fix for display of 'saveAsShapefile' for layers which don't support t…

…his operation

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6134 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 27, 2006
1 parent 8e9ef99 commit a482226b1101286bdfb506a24850f1917e8052f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/legend/qgslegend.cpp
@@ -438,7 +438,7 @@ void QgsLegend::handleRightClickEvent(QTreeWidgetItem* item, const QPoint& posit
}
else
{
if(theVectorLayer->getDataProvider()->capabilities() | QgsVectorDataProvider::SaveAsShapefile)
if(theVectorLayer->getDataProvider()->capabilities() & QgsVectorDataProvider::SaveAsShapefile)
{
theMenu.addAction(tr("&Save as shapefile..."), this, SLOT(legendLayerSaveAsShapefile()));
}

0 comments on commit a482226

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