Skip to content

Commit

Permalink
Fix a string
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 31, 2022
1 parent e1460e3 commit 269fbc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsnewauxiliaryfielddialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ QgsNewAuxiliaryFieldDialog::QgsNewAuxiliaryFieldDialog( const QgsPropertyDefinit
QgsGui::enableAutoGeometryRestore( this );

mType->addItem( QgsApplication::getThemeIcon( "/mIconFieldText.svg" ), QgsVariantUtils::typeToDisplayString( QVariant::String ), QgsPropertyDefinition::DataTypeString );
mType->addItem( QgsApplication::getThemeIcon( "/mIconFieldFloat.svg" ), QgsVariantUtils::typeToDisplayString( QVariant::Time ), QgsPropertyDefinition::DataTypeNumeric );
mType->addItem( QgsApplication::getThemeIcon( "/mIconFieldFloat.svg" ), QgsVariantUtils::typeToDisplayString( QVariant::Double ), QgsPropertyDefinition::DataTypeNumeric );
mType->addItem( QgsApplication::getThemeIcon( "/mIconFieldInteger.svg" ), tr( "Integer" ), QgsPropertyDefinition::DataTypeBoolean );

mType->setCurrentIndex( mType->findData( def.dataType() ) );
Expand Down

0 comments on commit 269fbc1

Please sign in to comment.