Skip to content

Commit

Permalink
qgsdualview was not initiated with the attribute config
Browse files Browse the repository at this point in the history
  • Loading branch information
speillet authored and nyalldawson committed Feb 11, 2021
1 parent f840c81 commit cd1edd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/attributetable/qgsdualview.cpp
Expand Up @@ -124,6 +124,7 @@ void QgsDualView::init( QgsVectorLayer *layer, QgsMapCanvas *mapCanvas, const Qg
return;

mLayer = layer;
mConfig.update( mLayer->fields() );
mEditorContext = context;

initLayerCache( !( request.flags() & QgsFeatureRequest::NoGeometry ) || !request.filterRect().isNull() );
Expand Down

0 comments on commit cd1edd5

Please sign in to comment.