Skip to content

Commit 8353698

Browse files
committed
[GRASS] disable new mapset action if init failed
1 parent 392a88a commit 8353698

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/grass/qgsgrassplugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ void QgsGrassPlugin::onGisbaseChanged()
316316
mOpenToolsAction->setDisabled( false ); // allow opening to see that tools are disabled
317317
mRegionAction->setDisabled( true );
318318
mOpenMapsetAction->setDisabled( true );
319+
mNewMapsetAction->setDisabled( true );
319320
mCloseMapsetAction->setDisabled( true );
320321

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

0 commit comments

Comments
 (0)