From 91728ddaf48a6506dbd021a76bd515de1fc96533 Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Mon, 30 Sep 2024 12:14:38 +0200 Subject: [PATCH] [gui] Fix attr property load Fix #58887 by reverting #58787, with this modification I cannot reproduce #58767 anymore. --- src/gui/vector/qgsattributesformproperties.cpp | 7 ------- 1 file changed, 7 deletions(-) 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 )