Skip to content
Permalink
Browse files

[GRASS] soft warning from provider if init failed

  • Loading branch information
blazek committed Sep 14, 2015
1 parent 2acf7a8 commit 687ad5a750a21e1d3517edb3fe39316a55a2c464
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/grass/qgsgrassplugin.cpp
@@ -135,6 +135,7 @@ void QgsGrassPlugin::initGui()
{
if ( !QgsGrass::init() )
{
qGisInterface->messageBar()->pushMessage( tr( "GRASS error" ), QgsGrass::errorMessage(), QgsMessageBar::WARNING );
// TODO: add a widget with warning
return;
}
@@ -143,7 +144,6 @@ void QgsGrassPlugin::initGui()
mTools = 0;
mNewMapset = 0;

QSettings settings;
mCanvas = qGisInterface->mapCanvas();
QWidget* qgis = qGisInterface->mainWindow();

0 comments on commit 687ad5a

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