Skip to content
Permalink
Browse files

Fix map canvas current layer is out of sync with layer tree current l…

…ayer

(cherry-picked from 444bf12)
  • Loading branch information
nyalldawson committed Aug 20, 2018
1 parent e466294 commit 68b4bba519f99eb75653c7c6648257a49fb17433
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -1736,7 +1736,7 @@ void QgisApp::handleDropUriList( const QgsMimeDataUtils::UriList &lst )
}

mBlockActiveLayerChanged = false;
emit activeLayerChanged( activeLayer() );
onActiveLayerChanged( activeLayer() );
}

bool QgisApp::event( QEvent *event )
@@ -11002,7 +11002,7 @@ void QgisApp::closeProject()
QgsProject::instance()->clear();
mBlockActiveLayerChanged = false;

emit activeLayerChanged( activeLayer() );
onActiveLayerChanged( activeLayer() );
}


0 comments on commit 68b4bba

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