[Fix #7552] drag'n'drop form information not loaded from qml file

This commit is contained in:
Matthias Kuhn 2013-04-17 15:23:25 +02:00
parent a928dce594
commit 83cb282ea1

View File

@ -203,15 +203,16 @@ QgsFieldsProperties::QgsFieldsProperties( QgsVectorLayer *layer, QWidget* parent
leEditForm->setText( layer->editForm() );
leEditFormInit->setText( layer->editFormInit() );
mEditorLayoutComboBox->setCurrentIndex( layer->editorLayout() );
loadAttributeEditorTree();
updateButtons();
}
void QgsFieldsProperties::init()
{
loadRows();
mEditorLayoutComboBox->setCurrentIndex( mLayer->editorLayout() );
loadAttributeEditorTree();
}
void QgsFieldsProperties::onAttributeSelectionChanged()