Skip to content

Commit e1b08fb

Browse files
committedMar 9, 2015
Followup 5d15a07, also fix edit role
1 parent e11f810 commit e1b08fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/gui/symbology-ng/qgsrulebasedrendererv2widget.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,8 @@ QVariant QgsRuleBasedRendererV2Model::data( const QModelIndex &index, int role )
800800
{
801801
case 0: return rule->label();
802802
case 1: return rule->filterExpression();
803-
case 2: return rule->scaleMinDenom();
804-
case 3: return rule->scaleMaxDenom();
803+
case 2: return rule->scaleMaxDenom();
804+
case 3: return rule->scaleMinDenom();
805805
default: return QVariant();
806806
}
807807
}

0 commit comments

Comments
 (0)
Please sign in to comment.