diff --git a/src/gui/vector/qgsattributesformproperties.cpp b/src/gui/vector/qgsattributesformproperties.cpp index 8eb641dd3cfc..1e4ccabf814d 100644 --- a/src/gui/vector/qgsattributesformproperties.cpp +++ b/src/gui/vector/qgsattributesformproperties.cpp @@ -616,13 +616,6 @@ void QgsAttributesFormProperties::loadAttributeSpecificEditor( QgsAttributesDnDT if ( layout == Qgis::AttributeFormLayout::DragAndDrop ) storeAttributeWidgetEdit(); - // Do not store while initializing! - if ( !mAvailableWidgetsTree->selectedItems().empty() ) - { - storeAttributeTypeDialog(); - storeAttributeContainerEdit(); - } - clearAttributeTypeFrame(); if ( emitter->selectedItems().count() != 1 )