Skip to content
Permalink
Browse files

Ensure Add SQL Anywhere Layer action comes before Add WMS Layer actio…

…n on Manage Layers toolbar
  • Loading branch information
dakcarto committed Jul 12, 2013
1 parent f24da3e commit 113a64b5c919ec12e6557db45426ffe83f51e5ba
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/plugins/sqlanywhere/sqlanywhere.cpp
@@ -84,10 +84,9 @@ void SqlAnywhere::initGui()
connect( mActionAddSqlAnywhereLayer, SIGNAL( triggered() ), this, SLOT( addSqlAnywhereLayer() ) );

// Add the icon to the new layers toolbar
mQGisIface->layerToolBar()->addAction( mActionAddSqlAnywhereLayer );

mQGisIface->layerToolBar()->insertAction( mQGisIface->actionAddWmsLayer(), mActionAddSqlAnywhereLayer );
// Also add to Layer menu
mQGisIface->insertAddLayerAction( mActionAddSqlAnywhereLayer );
mQGisIface->layerMenu()->insertAction( mQGisIface->actionAddWmsLayer(), mActionAddSqlAnywhereLayer );
}

//method defined in interface

0 comments on commit 113a64b

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