Skip to content

Commit

Permalink
[GRASS] fixed region when qgis is started from GRASS shell
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Oct 8, 2015
1 parent d088e0b commit 814e848
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/grass/qgsgrassplugin.cpp
Expand Up @@ -282,13 +282,12 @@ void QgsGrassPlugin::initGui()
connect( qGisInterface->layerTreeView(), SIGNAL( currentLayerChanged( QgsMapLayer* ) ),
SLOT( onCurrentLayerChanged( QgsMapLayer* ) ) );

mapsetChanged();

// open tools when plugin is loaded so that main app restores tools dock widget state
mTools = new QgsGrassTools( qGisInterface, qGisInterface->mainWindow() );
qGisInterface->addDockWidget( Qt::RightDockWidgetArea, mTools );

onGisbaseChanged();
mapsetChanged();
}

void QgsGrassPlugin::onGisbaseChanged()
Expand Down

0 comments on commit 814e848

Please sign in to comment.