Skip to content
Permalink
Browse files
Restore dialog size for some dialogs
  • Loading branch information
NathanW2 committed May 25, 2014
1 parent 16e5d1c commit e85f5606072ef03abe3b7b7b00836f6ad2440abd
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgsattributetypedialog.cpp
@@ -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()

0 comments on commit e85f560

Please sign in to comment.