mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[GRASS] fixed region when qgis is started from GRASS shell
This commit is contained in:
parent
d088e0be3a
commit
814e848363
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user