Skip to content

Commit

Permalink
always create Database menu after Raster one
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Dec 23, 2011
1 parent 01ffbdc commit 3650986
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -5449,7 +5449,12 @@ void QgisApp::addPluginToDatabaseMenu( QString name, QAction* action )
{
if ( actions.at( i )->menu() == mDatabaseMenu )
return;
if ( actions.at( i )->menu() == mHelpMenu )
if ( actions.at( i )->menu() == mWebMenu )
{
before = actions.at( i );
break;
}
else if ( actions.at( i )->menu() == mHelpMenu )
{
before = actions.at( i );
break;
Expand Down

0 comments on commit 3650986

Please sign in to comment.