Skip to content

Commit 814e848

Browse files
committed
[GRASS] fixed region when qgis is started from GRASS shell
1 parent d088e0b commit 814e848

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/plugins/grass/qgsgrassplugin.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,12 @@ void QgsGrassPlugin::initGui()
282282
connect( qGisInterface->layerTreeView(), SIGNAL( currentLayerChanged( QgsMapLayer* ) ),
283283
SLOT( onCurrentLayerChanged( QgsMapLayer* ) ) );
284284

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

291289
onGisbaseChanged();
290+
mapsetChanged();
292291
}
293292

294293
void QgsGrassPlugin::onGisbaseChanged()

0 commit comments

Comments
 (0)