Skip to content
Permalink
Browse files
QgsAttributeTableModel clears mFieldFormatters on loadAttributes
(addresses #45478)

Signed-off-by: Benjamin Jakimow <benjamin.jakimow@geo.hu-berlin.de>
  • Loading branch information
jakimowb authored and nyalldawson committed Nov 2, 2021
1 parent a208c3d commit 1d5531d2e2fed2aad4a3eec4a801476c7270d7b4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -387,6 +387,7 @@ void QgsAttributeTableModel::loadAttributes()
mWidgetFactories.clear();
mAttributeWidgetCaches.clear();
mWidgetConfigs.clear();
mFieldFormatters.clear();

for ( int idx = 0; idx < fields.count(); ++idx )
{

0 comments on commit 1d5531d

Please sign in to comment.