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 1d1a24b commit a0a5822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/symbology-ng/qgsrulebasedrendererv2widget.cpp
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

1 comment on commit a0a5822

@3nids
Copy link
Member

@3nids 3nids commented on a0a5822 Mar 10, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Please sign in to comment.