Skip to content

Commit

Permalink
Merge pull request #8360 from m-kuhn/hideGeometryValidation
Browse files Browse the repository at this point in the history
Hide geometry validation dock
  • Loading branch information
m-kuhn committed Oct 30, 2018
2 parents a9f7f35 + e16e25c commit 59b1d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -929,6 +929,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
mGeometryValidationService = qgis::make_unique<QgsGeometryValidationService>( QgsProject::instance() );
mGeometryValidationService->setMessageBar( mInfoBar );
mGeometryValidationDock = new QgsGeometryValidationDock( tr( "Geometry Validation" ), mMapCanvas, this );
mGeometryValidationDock->hide();
mGeometryValidationModel = new QgsGeometryValidationModel( mGeometryValidationService.get(), mGeometryValidationDock );
connect( this, &QgisApp::activeLayerChanged, mGeometryValidationModel, [this]( QgsMapLayer * layer )
{
Expand Down Expand Up @@ -1431,7 +1432,6 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
{
mCentralContainer->setCurrentIndex( 0 );
} );
mGeometryValidationDock->close();
} // QgisApp ctor

QgisApp::QgisApp()
Expand Down

0 comments on commit 59b1d30

Please sign in to comment.