From 814e8483630282c410dda8e647ff917532413fd4 Mon Sep 17 00:00:00 2001 From: Radim Blazek Date: Thu, 8 Oct 2015 09:43:21 +0200 Subject: [PATCH] [GRASS] fixed region when qgis is started from GRASS shell --- src/plugins/grass/qgsgrassplugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/grass/qgsgrassplugin.cpp b/src/plugins/grass/qgsgrassplugin.cpp index 0fe8604d157..3689d5c7bf0 100644 --- a/src/plugins/grass/qgsgrassplugin.cpp +++ b/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()