Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Attribute dialog: Show layer name in title bar
  • Loading branch information
m-kuhn committed Oct 4, 2014
1 parent a3dad24 commit ba3cca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsattributedialog.cpp
Expand Up @@ -100,7 +100,7 @@ void QgsAttributeDialog::show( bool autoDelete )

void QgsAttributeDialog::init( QgsVectorLayer* layer, QgsFeature* feature, QgsAttributeEditorContext& context, QWidget* parent )
{
setWindowTitle( tr( "Feature Attributes" ) );
setWindowTitle( tr( "%1 - Feature Attributes" ).arg( layer->name() ) );
setLayout( new QGridLayout() );
layout()->setMargin( 0 );
mAttributeForm = new QgsAttributeForm( layer, *feature, context, parent );
Expand Down

0 comments on commit ba3cca2

Please sign in to comment.