mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Ensure Add SQL Anywhere Layer action comes before Add WMS Layer action on Manage Layers toolbar
This commit is contained in:
parent
f24da3e51e
commit
113a64b5c9
@ -84,10 +84,9 @@ void SqlAnywhere::initGui()
|
|||||||
connect( mActionAddSqlAnywhereLayer, SIGNAL( triggered() ), this, SLOT( addSqlAnywhereLayer() ) );
|
connect( mActionAddSqlAnywhereLayer, SIGNAL( triggered() ), this, SLOT( addSqlAnywhereLayer() ) );
|
||||||
|
|
||||||
// Add the icon to the new layers toolbar
|
// Add the icon to the new layers toolbar
|
||||||
mQGisIface->layerToolBar()->addAction( mActionAddSqlAnywhereLayer );
|
mQGisIface->layerToolBar()->insertAction( mQGisIface->actionAddWmsLayer(), mActionAddSqlAnywhereLayer );
|
||||||
|
|
||||||
// Also add to Layer menu
|
// Also add to Layer menu
|
||||||
mQGisIface->insertAddLayerAction( mActionAddSqlAnywhereLayer );
|
mQGisIface->layerMenu()->insertAction( mQGisIface->actionAddWmsLayer(), mActionAddSqlAnywhereLayer );
|
||||||
}
|
}
|
||||||
|
|
||||||
//method defined in interface
|
//method defined in interface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user