Skip to content
Permalink
Browse files

Tweak radio text when showing a combo of predefined dates

  • Loading branch information
nyalldawson committed Mar 24, 2021
1 parent 52975e0 commit f3ab9b374dc205b8b32a1652795cfee149e52f9d
Showing with 3 additions and 1 deletion.
  1. +2 −0 src/providers/wms/qgswmstsettingswidget.cpp
  2. +1 −1 src/ui/qgswmstsettingswidgetbase.ui
@@ -87,11 +87,13 @@ void QgsWmstSettingsWidget::syncToLayer( QgsMapLayer *layer )
{
mStaticWmstRangeCombo->addItem( range.begin().toString( Qt::ISODate ), QVariant::fromValue( range ) );
}
mStaticTemporalRangeRadio->setText( tr( "Predefined date" ) );
}
else
{
mStaticWmstRangeFrame->show();
mStaticWmstChoiceFrame->hide();
mStaticTemporalRangeRadio->setText( tr( "Predefined range" ) );
}

QgsProviderMetadata *metadata = QgsProviderRegistry::instance()->providerMetadata(
@@ -44,7 +44,7 @@
<item row="1" column="0">
<widget class="QStackedWidget" name="mStaticWmstStackedWidget">
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="page">
<layout class="QVBoxLayout" name="verticalLayout_2">

0 comments on commit f3ab9b3

Please sign in to comment.