Skip to content

Commit

Permalink
typo in var name
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 2, 2014
1 parent 31d52d9 commit d828f6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp
Expand Up @@ -358,7 +358,7 @@ QgsGraduatedSymbolRendererV2Widget::QgsGraduatedSymbolRendererV2Widget( QgsVecto
// setup user interface
setupUi( this );

mExprressionWidget->setLayer( mLayer );
mExpressionWidget->setLayer( mLayer );

cboGraduatedColorRamp->populate( mStyle );

Expand All @@ -382,7 +382,7 @@ QgsGraduatedSymbolRendererV2Widget::QgsGraduatedSymbolRendererV2Widget( QgsVecto

mGraduatedSymbol = QgsSymbolV2::defaultSymbol( mLayer->geometryType() );

connect( mExprressionWidget, SIGNAL( fieldChanged( QString ) ), this, SLOT( graduatedColumnChanged( QString ) ) );
connect( mExpressionWidget, SIGNAL( fieldChanged( QString ) ), this, SLOT( graduatedColumnChanged( QString ) ) );
connect( viewGraduated, SIGNAL( doubleClicked( const QModelIndex & ) ), this, SLOT( rangesDoubleClicked( const QModelIndex & ) ) );
connect( viewGraduated, SIGNAL( clicked( const QModelIndex & ) ), this, SLOT( rangesClicked( const QModelIndex & ) ) );
connect( viewGraduated, SIGNAL( customContextMenuRequested( const QPoint& ) ), this, SLOT( contextMenuViewCategories( const QPoint& ) ) );
Expand Down Expand Up @@ -438,10 +438,10 @@ void QgsGraduatedSymbolRendererV2Widget::updateUiFromRenderer()
spinGraduatedClasses->setValue( mRenderer->ranges().count() );

// set column
disconnect( mExprressionWidget, SIGNAL( fieldChanged( QString ) ), this, SLOT( graduatedColumnChanged( QString ) ) );
disconnect( mExpressionWidget, SIGNAL( fieldChanged( QString ) ), this, SLOT( graduatedColumnChanged( QString ) ) );
QString attrName = mRenderer->classAttribute();
mExprressionWidget->setField( attrName );
connect( mExprressionWidget, SIGNAL( fieldChanged( QString ) ), this, SLOT( graduatedColumnChanged( QString ) ) );
mExpressionWidget->setField( attrName );
connect( mExpressionWidget, SIGNAL( fieldChanged( QString ) ), this, SLOT( graduatedColumnChanged( QString ) ) );

// set source symbol
if ( mRenderer->sourceSymbol() )
Expand All @@ -467,7 +467,7 @@ void QgsGraduatedSymbolRendererV2Widget::graduatedColumnChanged( QString field )

void QgsGraduatedSymbolRendererV2Widget::classifyGraduated()
{
QString attrName = mExprressionWidget->currentField();
QString attrName = mExpressionWidget->currentField();

int classes = spinGraduatedClasses->value();

Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsgraduatedsymbolrendererv2widget.ui
Expand Up @@ -150,7 +150,7 @@
<number>0</number>
</property>
<item>
<widget class="QgsFieldExpressionWidget" name="mExprressionWidget" native="true"/>
<widget class="QgsFieldExpressionWidget" name="mExpressionWidget" native="true"/>
</item>
<item>
<spacer name="horizontalSpacer">
Expand Down

0 comments on commit d828f6b

Please sign in to comment.