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 committed Mar 5, 2015
1 parent f40d547 commit 5d15a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/symbology-ng/qgsrulebasedrendererv2widget.cpp
Original file line number Diff line number Diff line change
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 5d15a07

Please sign in to comment.