Skip to content
Permalink
Browse files

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

…ayer
  • Loading branch information
nyalldawson committed Aug 20, 2018
1 parent e6fcce4 commit 444bf12b3107cfa2b04a0819184de5f4e7c72009
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -1759,7 +1759,7 @@ void QgisApp::handleDropUriList( const QgsMimeDataUtils::UriList &lst )
}

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

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

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


1 comment on commit 444bf12

@nirvn

This comment has been minimized.

Copy link
Contributor

@nirvn nirvn commented on 444bf12 Aug 20, 2018

Thanks

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