Skip to content

Commit

Permalink
[Fix #7552] drag'n'drop form information not loaded from qml file
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 17, 2013
1 parent a928dce commit 83cb282
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/qgsfieldsproperties.cpp
Expand Up @@ -203,15 +203,16 @@ QgsFieldsProperties::QgsFieldsProperties( QgsVectorLayer *layer, QWidget* parent
leEditForm->setText( layer->editForm() ); leEditForm->setText( layer->editForm() );
leEditFormInit->setText( layer->editFormInit() ); leEditFormInit->setText( layer->editFormInit() );


mEditorLayoutComboBox->setCurrentIndex( layer->editorLayout() );

loadAttributeEditorTree();
updateButtons(); updateButtons();
} }


void QgsFieldsProperties::init() void QgsFieldsProperties::init()
{ {
loadRows(); loadRows();

mEditorLayoutComboBox->setCurrentIndex( mLayer->editorLayout() );

loadAttributeEditorTree();
} }


void QgsFieldsProperties::onAttributeSelectionChanged() void QgsFieldsProperties::onAttributeSelectionChanged()
Expand Down

0 comments on commit 83cb282

Please sign in to comment.