mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix for display of 'saveAsShapefile' for layers which don't support this operation
git-svn-id: http://svn.osgeo.org/qgis/trunk@6134 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
ac147d1a61
commit
919324b984
@ -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()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user