Skip to content
Permalink
Browse files

postgres provider: restore default for cursor counter

  • Loading branch information
jef-n committed Feb 9, 2015
1 parent 72015bf commit d0159e2d9211c6ceb041a80efd11e716f456a4c8
Showing with 2 additions and 1 deletion.
  1. +1 −1 src/gui/qgsfieldexpressionwidget.cpp
  2. +1 −0 src/providers/postgres/qgspostgresconn.cpp
@@ -190,7 +190,7 @@ void QgsFieldExpressionWidget::expressionEdited( const QString expression )

void QgsFieldExpressionWidget::expressionEditingFinished()
{
QgsDebugMsg( "Editing finsihed" );
QgsDebugMsg( "Editing finished" );
const QString expression = mCombo->lineEdit()->text();
mFieldProxyModel->sourceFieldModel()->setExpression( expression );
QModelIndex idx = mFieldProxyModel->sourceFieldModel()->indexFromName( expression );
@@ -187,6 +187,7 @@ QgsPostgresConn::QgsPostgresConn( QString conninfo, bool readOnly, bool shared,
, mUseWkbHex( false )
, mReadOnly( readOnly )
, mSwapEndian( false )
, mNextCursorId( 0 )
, mShared( shared )
, mTransaction( transaction )
{

0 comments on commit d0159e2

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