Skip to content
Permalink
Browse files

Attribute dialog: Show layer name in title bar

  • Loading branch information
m-kuhn committed Oct 3, 2014
1 parent a3dad24 commit ba3cca26798a01d0e0df48f6e1b306f5d63f6633
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsattributedialog.cpp
@@ -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 );

0 comments on commit ba3cca2

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