Skip to content
Permalink
Browse files

Add … to change data source action

  • Loading branch information
elpaso committed Nov 2, 2018
1 parent 8d84a6f commit 661aad7ef9ad4b608349b74720265512c1f5224c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsapplayertreeviewmenuprovider.cpp
@@ -203,7 +203,7 @@ QMenu *QgsAppLayerTreeViewMenuProvider::createContextMenu()
if ( vlayer || rlayer )
{

QAction *a = new QAction( tr( "Change data source" ), menu );
QAction *a = new QAction( tr( "Change data source" ), menu );
connect( a, &QAction::triggered, [ = ]
{
QgisApp::instance()->changeDataSource( layer );

0 comments on commit 661aad7

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