Skip to content

Commit

Permalink
Followup 5d15a07, also fix edit role
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 9, 2015
1 parent e11f810 commit e1b08fb
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 @@ -800,8 +800,8 @@ QVariant QgsRuleBasedRendererV2Model::data( const QModelIndex &index, int role )
{
case 0: return rule->label();
case 1: return rule->filterExpression();
case 2: return rule->scaleMinDenom();
case 3: return rule->scaleMaxDenom();
case 2: return rule->scaleMaxDenom();
case 3: return rule->scaleMinDenom();
default: return QVariant();
}
}
Expand Down

0 comments on commit e1b08fb

Please sign in to comment.