Skip to content

Commit

Permalink
Fix toolbar order with add and new buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Sep 11, 2014
1 parent f7808f1 commit 302c604
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -1651,7 +1651,8 @@ void QgisApp::createToolBars()
case 1: defNewLayerAction = mActionNewVectorLayer; break;
}
bt->setDefaultAction( defNewLayerAction );
QAction* newLayerAction = mLayerToolBar->insertWidget( mActionAddDelimitedText, bt );
QAction* newLayerAction = mLayerToolBar->addWidget( bt );

newLayerAction->setObjectName( "ActionNewLayer" );
connect( bt, SIGNAL( triggered( QAction * ) ), this, SLOT( toolButtonActionTriggered( QAction * ) ) );

Expand Down

0 comments on commit 302c604

Please sign in to comment.