Skip to content

Commit

Permalink
fix inline editing of scales in rule based renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Mar 9, 2015
1 parent f6ca96e commit e11f810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/symbology-ng/qgsrulebasedrendererv2widget.cpp
Expand Up @@ -906,10 +906,10 @@ bool QgsRuleBasedRendererV2Model::setData( const QModelIndex & index, const QVar
rule->setFilterExpression( value.toString() );
break;
case 2: // scale min
rule->setScaleMinDenom( value.toInt() );
rule->setScaleMaxDenom( value.toInt() );
break;
case 3: // scale max
rule->setScaleMaxDenom( value.toInt() );
rule->setScaleMinDenom( value.toInt() );
break;
default:
return false;
Expand Down

0 comments on commit e11f810

Please sign in to comment.