Skip to content
Permalink
Browse files

[GRASS] fixed region when qgis is started from GRASS shell

  • Loading branch information
blazek committed Oct 8, 2015
1 parent d088e0b commit 814e8483630282c410dda8e647ff917532413fd4
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/plugins/grass/qgsgrassplugin.cpp
@@ -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()

0 comments on commit 814e848

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