Skip to content
Permalink
Browse files

Make sure topo editing button is updated on new/loaded project

  • Loading branch information
wonder-sk committed Nov 4, 2018
1 parent 93e737e commit 68be6df376ec2bf3314021313ab30554d083b4a9
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 68be6df

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