Skip to content
Permalink
Browse files

Fix toolbar order with add and new buttons

  • Loading branch information
NathanW2 committed Sep 11, 2014
1 parent f7808f1 commit 302c604bbf27999da1742ced1cc26aa3cdabe762
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgisapp.cpp
@@ -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 * ) ) );

0 comments on commit 302c604

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