Skip to content
Permalink
Browse files

improve state handling in temporal tab

  • Loading branch information
Samweli authored and nyalldawson committed May 1, 2020
1 parent db96220 commit 532d4e0eef2b72c0f8d38c4caae5701cd001bb3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/raster/qgsrasterlayertemporalpropertieswidget.cpp
@@ -40,7 +40,6 @@ void QgsRasterLayerTemporalPropertiesWidget::init()

mEndTemporalDateTimeEdit->setDisplayFormat( "yyyy-MM-dd HH:mm:ss" );

mTemporalGroupBox->setChecked( mLayer->temporalProperties()->isActive() );
switch ( mLayer->temporalProperties()->mode() )
{
case QgsRasterLayerTemporalProperties::ModeTemporalRangeFromDataProvider:
@@ -61,6 +60,7 @@ void QgsRasterLayerTemporalPropertiesWidget::init()
mModeFixedRangeRadio->setChecked( true );
}

mTemporalGroupBox->setChecked( mLayer->temporalProperties()->isActive() );
}

void QgsRasterLayerTemporalPropertiesWidget::saveTemporalProperties()

0 comments on commit 532d4e0

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