Skip to content

Commit

Permalink
[GRASS] hide save layer edits action
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Oct 12, 2015
1 parent 1e958d2 commit 6f5f672
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/grass/qgsgrassplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -362,6 +363,7 @@ void QgsGrassPlugin::resetEditActions()
else
{
mAddFeatureAction->setVisible( true );
qGisInterface->actionSaveActiveLayerEdits()->setVisible( true );
mAddPointAction->setVisible( false );
mAddLineAction->setVisible( false );
mAddBoundaryAction->setVisible( false );
Expand Down

0 comments on commit 6f5f672

Please sign in to comment.