We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 21b5a82 commit ab0010fCopy full SHA for ab0010f
src/plugins/grass/qgsgrassnewmapset.cpp
@@ -1263,12 +1263,7 @@ void QgsGrassNewMapset::createMapset()
1263
1264
// TODO: add QgsGrass::setLocation or G_make_location with
1265
// database path
1266
- if ( !QgsGrass::activeMode() ) // because it calls private QgsGrass::init()
1267
- {
1268
- QMessageBox::warning( this, tr( "Create mapset" ),
1269
- tr( "Cannot activate grass" ) );
1270
- return;
1271
- }
+ QgsGrass::activeMode(); // because it calls private QgsGrass::init()
1272
1273
#if defined(WIN32)
1274
G__setenv(( char * ) "GISDBASE", QgsGrass::shortPath( mDatabaseLineEdit->text() ).toUtf8().data() );
0 commit comments