Skip to content
Permalink
Browse files
Make sure topo editing button is updated on new/loaded project
(cherry picked from commit 68be6df)
  • Loading branch information
wonder-sk authored and nyalldawson committed Nov 6, 2018
1 parent 2f5a87f commit cdf878d4b59bf6eb16252b155921ffa94ad0dc67
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsproject.cpp
@@ -665,6 +665,7 @@ void QgsProject::clear()
mLayoutManager->clear();
mSnappingConfig.reset();
emit snappingConfigChanged( mSnappingConfig );
emit topologicalEditingChanged();

mMapThemeCollection.reset( new QgsMapThemeCollection( this ) );
emit mapThemeCollectionChanged();
@@ -1339,6 +1340,7 @@ bool QgsProject::readProjectFile( const QString &filename )
emit readProject( *doc );
emit readProjectWithContext( *doc, context );
emit snappingConfigChanged( mSnappingConfig );
emit topologicalEditingChanged();

// if all went well, we're allegedly in pristine state
if ( clean )

0 comments on commit cdf878d

Please sign in to comment.