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 f5c1d22 commit 9f844664b8ded0f4fc6f81d3ab6f69661fab58cd
Showing with 7 additions and 2 deletions.
  1. +6 −1 src/gui/qgstextformatwidget.cpp
  2. +1 −1 src/ui/qgstextformatwidgetbase.ui
@@ -533,7 +533,12 @@ void QgsTextFormatWidget::setWidgetMode( QgsTextFormatWidget::Mode mode )
mOptionsTab->removeTab( 8 );
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();
@@ -3991,7 +3991,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 9f84466

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