Skip to content

Commit

Permalink
Edit widget properties dialog: Improve window title
Browse files Browse the repository at this point in the history
Includes the field name and layer name in the window title.
  • Loading branch information
m-kuhn committed Oct 14, 2014
1 parent f284f6e commit 5ec1b75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsattributetypedialog.cpp
Expand Up @@ -43,6 +43,8 @@ QgsAttributeTypeDialog::QgsAttributeTypeDialog( QgsVectorLayer *vl , int fieldId
, mFieldIdx( fieldIdx )
{
setupUi( this );
setWindowTitle( tr( "Edit Widget Properties - %1 (%2)" ).arg( vl->pendingFields()[fieldIdx].name() ).arg( vl->name() ) );

connect( selectionListWidget, SIGNAL( currentRowChanged( int ) ), this, SLOT( setStackPage( int ) ) );

QMapIterator<QString, QgsEditorWidgetFactory*> it( QgsEditorWidgetRegistry::instance()->factories() );
Expand Down

0 comments on commit 5ec1b75

Please sign in to comment.