diff --git a/src/plugins/gps_importer/qgsgpsplugin.cpp b/src/plugins/gps_importer/qgsgpsplugin.cpp index 8f087ee1574..08100420828 100644 --- a/src/plugins/gps_importer/qgsgpsplugin.cpp +++ b/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 );