Skip to content
Permalink
Browse files
Hide geometry validation dock
  • Loading branch information
m-kuhn committed Oct 30, 2018
1 parent 21d1bdf commit 65dc93c09faeb048a79ecc8f0e0ccececdcda0d0
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 65dc93c

Please sign in to comment.