Navigation Menu

Skip to content

Commit

Permalink
fix incorrect tabs order when adding new text format via style manager
Browse files Browse the repository at this point in the history
(fix #33056)

(cherry picked from commit cff6d5f)
  • Loading branch information
alexbruy authored and nyalldawson committed Mar 20, 2020
1 parent f5c1d22 commit 9f84466
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/gui/qgstextformatwidget.cpp
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgstextformatwidgetbase.ui
Expand Up @@ -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>
Expand Down

0 comments on commit 9f84466

Please sign in to comment.