Skip to content
Permalink
Browse files

Spelling

  • Loading branch information
nyalldawson committed Aug 3, 2018
1 parent c5668f3 commit f8afc5077fb550a1836b4f242e684d29ea3025fe
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgsapplayertreeviewmenuprovider.cpp
@@ -263,9 +263,9 @@ QMenu *QgsAppLayerTreeViewMenuProvider::createContextMenu()
{
if ( vlayer->dataProvider()->name() == QLatin1String( "memory" ) )
{
QAction *actionMakePermenant = new QAction( QgsApplication::getThemeIcon( QStringLiteral( "mActionFileSave.svg" ) ), tr( "Make Permanent…" ), menu );
connect( actionMakePermenant, &QAction::triggered, QgisApp::instance(), [ = ] { QgisApp::instance()->makeMemoryLayerPermanent( vlayer ); } );
menu->addAction( actionMakePermenant );
QAction *actionMakePermanent = new QAction( QgsApplication::getThemeIcon( QStringLiteral( "mActionFileSave.svg" ) ), tr( "Make Permanent…" ), menu );
connect( actionMakePermanent, &QAction::triggered, QgisApp::instance(), [ = ] { QgisApp::instance()->makeMemoryLayerPermanent( vlayer ); } );
menu->addAction( actionMakePermanent );
}
// save as vector file
QMenu *menuExportVector = new QMenu( tr( "Export" ), menu );

0 comments on commit f8afc50

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