Skip to content

Commit

Permalink
Correctly set initial tab in label style dock
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 2, 2016
1 parent cba8265 commit cad3a5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgslabelinggui.cpp
Expand Up @@ -494,7 +494,8 @@ QgsLabelingGui::QgsLabelingGui( QgsVectorLayer* layer, QgsMapCanvas* mapCanvas,

connect( mQuadrantBtnGrp, SIGNAL( buttonClicked( int ) ), this, SLOT( updatePreview() ) );

mOptionsTab->setCurrentIndex( 0 );
// set correct initial tab to match displayed setting page
whileBlocking( mOptionsTab )->setCurrentIndex( mLabelStackedWidget->currentIndex() );
}

void QgsLabelingGui::setDockMode( bool enabled )
Expand Down

0 comments on commit cad3a5a

Please sign in to comment.