Skip to content

Commit cdf878d

Browse files
wonder-sknyalldawson
authored andcommittedNov 6, 2018
Make sure topo editing button is updated on new/loaded project
(cherry picked from commit 68be6df)
1 parent 2f5a87f commit cdf878d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/core/qgsproject.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ void QgsProject::clear()
665665
mLayoutManager->clear();
666666
mSnappingConfig.reset();
667667
emit snappingConfigChanged( mSnappingConfig );
668+
emit topologicalEditingChanged();
668669

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.