Skip to content

Commit

Permalink
[GRASS] disable new mapset action if init failed
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Feb 17, 2016
1 parent 392a88a commit 8353698
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/grass/qgsgrassplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() );
Expand Down

0 comments on commit 8353698

Please sign in to comment.