Skip to content
Permalink
Browse files

Ensure new GPX Layer action comes before Remove Layer action on Manag…

…e Layers toolbar
  • Loading branch information
dakcarto committed Jul 12, 2013
1 parent a87f4d1 commit 56055cef5a2bd6551a213bd59dbe75305dfed78e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/gps_importer/qgsgpsplugin.cpp
@@ -95,7 +95,7 @@ void QgsGPSPlugin::initGui()
connect( mQActionPointer, SIGNAL( triggered() ), this, SLOT( run() ) );
connect( mCreateGPXAction, SIGNAL( triggered() ), this, SLOT( createGPX() ) );

mQGisInterface->layerToolBar()->addAction( mCreateGPXAction );
mQGisInterface->layerToolBar()->insertAction( mQGisInterface->actionRemoveLayer(), mCreateGPXAction );
mQGisInterface->newLayerMenu()->addAction( mCreateGPXAction );
mQGisInterface->addPluginToVectorMenu( tr( "&GPS" ), mQActionPointer );
mQGisInterface->addVectorToolBarIcon( mQActionPointer );

0 comments on commit 56055ce

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