Skip to content
Permalink
Browse files

Merge pull request #8373 from m-kuhn/hideGeometryValidationBackport

Hide geometry validation dock
  • Loading branch information
m-kuhn committed Oct 30, 2018
2 parents f951219 + 65dc93c commit e1557c620001f93b231a0d3bdc2bf24476fe54cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -928,6 +928,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 )
{
@@ -1430,7 +1431,6 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
{
mCentralContainer->setCurrentIndex( 0 );
} );
mGeometryValidationDock->close();
} // QgisApp ctor

QgisApp::QgisApp()

0 comments on commit e1557c6

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