Skip to content
Permalink
Browse files

[GRASS] hide save layer edits action

  • Loading branch information
blazek committed Oct 12, 2015
1 parent 1e958d2 commit 6f5f672acdf6d21c2af1da90617f8b1f6d5f1b33
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/plugins/grass/qgsgrassplugin.cpp
@@ -353,6 +353,7 @@ void QgsGrassPlugin::resetEditActions()
if ( grassProvider && vectorLayer->editBuffer() )
{
mAddFeatureAction->setVisible( false );
qGisInterface->actionSaveActiveLayerEdits()->setVisible( false );
mAddPointAction->setVisible( true );
mAddLineAction->setVisible( true );
mAddBoundaryAction->setVisible( true );
@@ -362,6 +363,7 @@ void QgsGrassPlugin::resetEditActions()
else
{
mAddFeatureAction->setVisible( true );
qGisInterface->actionSaveActiveLayerEdits()->setVisible( true );
mAddPointAction->setVisible( false );
mAddLineAction->setVisible( false );
mAddBoundaryAction->setVisible( false );

0 comments on commit 6f5f672

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