Skip to content
Permalink
Browse files

[GRASS] disable new mapset action if init failed

  • Loading branch information
blazek committed Feb 17, 2016
1 parent 392a88a commit 8353698633ae4f7e81ef45c9a0aca7a8cdc03c5b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/plugins/grass/qgsgrassplugin.cpp
@@ -316,6 +316,7 @@ void QgsGrassPlugin::onGisbaseChanged()
mOpenToolsAction->setDisabled( false ); // allow opening to see that tools are disabled
mRegionAction->setDisabled( true );
mOpenMapsetAction->setDisabled( true );
mNewMapsetAction->setDisabled( true );
mCloseMapsetAction->setDisabled( true );

mTools->setWindowTitle( error + " : " + QgsGrass::initError() );

0 comments on commit 8353698

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