Skip to content
Permalink
Browse files

fix inline editing of scales in rule based renderer

  • Loading branch information
3nids authored and nyalldawson committed Mar 9, 2015
1 parent f6ca96e commit e11f81033bb29384f77f2a0c5ab0f2487908ffda
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/symbology-ng/qgsrulebasedrendererv2widget.cpp
@@ -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;

0 comments on commit e11f810

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