Skip to content
Permalink
Browse files
Correctly set initial tab in label style dock
  • Loading branch information
nyalldawson committed May 2, 2016
1 parent cba8265 commit cad3a5a
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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 )

0 comments on commit cad3a5a

Please sign in to comment.