Skip to content

Commit

Permalink
Restore dialog size for some dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed May 25, 2014
1 parent 16e5d1c commit e85f560
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgsattributetypedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,14 @@ QgsAttributeTypeDialog::QgsAttributeTypeDialog( QgsVectorLayer *vl , int fieldId
+ 2 );
selectionListWidget->setMaximumWidth( selectionListWidget->sizeHintForColumn( 0 )
+ 2 );
QSettings settings;
restoreGeometry( settings.value( "/Windows/QgsAttributeTypeDialog/geometry" ).toByteArray() );
}

QgsAttributeTypeDialog::~QgsAttributeTypeDialog()
{
QSettings settings;
settings.setValue( "/Windows/QgsAttributeTypeDialog/geometry", saveGeometry() );
}

const QString QgsAttributeTypeDialog::editorWidgetV2Type()
Expand Down

0 comments on commit e85f560

Please sign in to comment.