Skip to content
Permalink
Browse files

Fixes #11061

  • Loading branch information
slarosa committed Oct 4, 2014
1 parent 650cd8f commit def0a1df91d5390f02dc0fd5f17d3614e396a7a2
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgsfieldexpressionwidget.cpp
@@ -32,6 +32,8 @@ QgsFieldExpressionWidget::QgsFieldExpressionWidget( QWidget *parent )
mCombo = new QComboBox( this );
mCombo->setEditable( true );
mCombo->setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::Minimum );
int width = mCombo->minimumSizeHint().width();
mCombo->setMinimumWidth( width );
mFieldProxyModel = new QgsFieldProxyModel( mCombo );
mFieldProxyModel->sourceFieldModel()->setAllowExpression( true );
mCombo->setModel( mFieldProxyModel );

0 comments on commit def0a1d

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