Skip to content
Permalink
Browse files

Fix incorrect behavior of Field Format combobox in date time widget c…

…onfig
  • Loading branch information
agiudiceandrea authored and nyalldawson committed May 24, 2020
1 parent 6466bd7 commit 788180c2272068f1cf8f15be6750e3742ef257cf
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/editorwidgets/qgsdatetimeeditconfig.cpp
@@ -415,6 +415,10 @@ void QgsDateTimeEditConfig::updateFieldFormat( int idx )
{
mFieldFormatEdit->setText( format );
}
else if ( mFieldFormatEdit->text() == QgsDateTimeFieldFormatter::QT_ISO_FORMAT )
{
mFieldFormatEdit->setText( QgsDateTimeFieldFormatter::DISPLAY_FOR_ISO_FORMAT );
}

mFieldFormatEdit->setEnabled( custom );
mFieldHelpToolButton->setVisible( custom );

0 comments on commit 788180c

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