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 cad3a5aecca3634f7678febf476f1c7c4c969eb8
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgslabelinggui.cpp
@@ -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.
You can’t perform that action at this time.