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@6134 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 27, 2006
1 parent ac147d1 commit 919324b984b8b629bc845e4daa852f85d22d519c
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 919324b

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