Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
QgsAttributeTableModel clears mFieldFormatters on loadAttributes
(addresses #45478)

Signed-off-by: Benjamin Jakimow <benjamin.jakimow@geo.hu-berlin.de>
  • Loading branch information
jakimowb authored and github-actions[bot] committed Oct 30, 2021
1 parent 95f7829 commit 56f9476
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/attributetable/qgsattributetablemodel.cpp
Expand Up @@ -391,6 +391,7 @@ void QgsAttributeTableModel::loadAttributes()
mWidgetFactories.clear();
mAttributeWidgetCaches.clear();
mWidgetConfigs.clear();
mFieldFormatters.clear();

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

0 comments on commit 56f9476

Please sign in to comment.