mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Ensure new GPX Layer action comes before Remove Layer action on Manage Layers toolbar
This commit is contained in:
parent
a87f4d1e57
commit
56055cef5a
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user