Skip to content
Permalink
Browse files

qgsdualview was not initiated with the attribute config

  • Loading branch information
speillet authored and nyalldawson committed Feb 11, 2021
1 parent f840c81 commit cd1edd581962e6b2001e4d0729053ead7c0ca2c7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/attributetable/qgsdualview.cpp
@@ -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() );

0 comments on commit cd1edd5

Please sign in to comment.