Skip to content
Permalink
Browse files

Add missing context object in lambda connect

  • Loading branch information
nyalldawson committed Nov 10, 2018
1 parent 15141d9 commit 005a7fa43f3e55d82eafc661b0ffb6e1ec33ac11
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsapplayertreeviewmenuprovider.cpp
@@ -251,7 +251,7 @@ QMenu *QgsAppLayerTreeViewMenuProvider::createContextMenu()
}
else
{
connect( a, &QAction::triggered, [ = ]
connect( a, &QAction::triggered, this, [ = ]
{
QgisApp::instance()->changeDataSource( layer );
} );

0 comments on commit 005a7fa

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