Skip to content
Permalink
Browse files

assign parent to model

  • Loading branch information
3nids committed Nov 30, 2015
1 parent bffb3a5 commit 834f8d5e59ded94ac9a73c950925fb1212fca873
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsattributetabledialog.cpp
@@ -242,7 +242,7 @@ QgsAttributeTableDialog::QgsAttributeTableDialog( QgsVectorLayer *theLayer, QWid

mUpdateExpressionText->registerGetExpressionContextCallback( &_getExpressionContext, mLayer );

mFieldModel = new QgsFieldModel();
mFieldModel = new QgsFieldModel( this );
mFieldModel->setLayer( mLayer );
mFieldCombo->setModel( mFieldModel );
connect( mRunFieldCalc, SIGNAL( clicked() ), this, SLOT( updateFieldFromExpression() ) );

0 comments on commit 834f8d5

Please sign in to comment.
You can’t perform that action at this time.