Skip to content
Permalink
Browse files

Remove field type indicators in attribute form

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14673 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Nov 14, 2010
1 parent 6d2d71a commit 9774a6e45c09e1e0420fd700334052fd0eb21cce
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/app/qgsattributedialog.cpp
@@ -140,20 +140,20 @@ QgsAttributeDialog::QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeat
mypInnerLayout->addWidget( mypLabel, index, 0 );
if ( myFieldType == QVariant::Int )
{
mypLabel->setText( myFieldName + tr( " (int)" ) );
mypLabel->setText( myFieldName );
}
else if ( myFieldType == QVariant::Double )
{
mypLabel->setText( myFieldName + tr( " (dbl)" ) );
mypLabel->setText( myFieldName );
}
else if ( myFieldType == QVariant::LongLong )
{
mypLabel->setText( myFieldName + tr( " (long)" ) );
mypLabel->setText( myFieldName );
}
else //string
{
//any special behaviour for string goes here
mypLabel->setText( myFieldName + tr( " (txt)" ) );
mypLabel->setText( myFieldName );
}

if ( vl->editType( it.key() ) != QgsVectorLayer::Immutable )

0 comments on commit 9774a6e

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