Skip to content
Permalink
Browse files

fix incorrect tabs order when adding new text format via style manager

(fix #33056)

(cherry picked from commit cff6d5f)
  • Loading branch information
alexbruy authored and nyalldawson committed Mar 13, 2020
1 parent a9a8684 commit 0b01508c38945898ffdbde611b52e38449f21c0f
Showing with 7 additions and 2 deletions.
  1. +6 −1 src/gui/qgstextformatwidget.cpp
  2. +1 −1 src/ui/qgstextformatwidgetbase.ui
@@ -525,7 +525,12 @@ void QgsTextFormatWidget::setWidgetMode( QgsTextFormatWidget::Mode mode )
delete mLabelingOptionsListWidget->takeItem( 5 );
mOptionsTab->removeTab( 7 );
mOptionsTab->removeTab( 6 );
mOptionsTab->removeTab( 5 );
mOptionsTab->removeTab( 3 );
mLabelStackedWidget->removeWidget( mLabelPage_Rendering );
mLabelStackedWidget->removeWidget( mLabelPage_Callouts );
mLabelStackedWidget->removeWidget( mLabelPage_Mask );
mLabelStackedWidget->removeWidget( mLabelPage_Placement );
mLabelStackedWidget->setCurrentIndex( 0 );

frameLabelWith->hide();
mDirectSymbolsFrame->hide();
@@ -3634,7 +3634,7 @@ font-style: italic;</string>
</item>
</layout>
</widget>
<widget class="QWidget" name="page">
<widget class="QWidget" name="mLabelPage_Callouts">
<layout class="QVBoxLayout" name="verticalLayout_14">
<property name="leftMargin">
<number>0</number>

0 comments on commit 0b01508

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