Skip to content
Permalink
Browse files

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

(fix #33056)
  • Loading branch information
alexbruy committed Mar 13, 2020
1 parent 55d3761 commit cff6d5f9bcf4edeb8a4173eaddaa18416ff8f0f9
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 cff6d5f

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