Skip to content

Commit 1797988

Browse files
author
jef
committed
fix #2647
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13306 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent d54acce commit 1797988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsattributeeditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ QWidget *QgsAttributeEditor::createAttributeEditor( QWidget *parent, QWidget *ed
202202
QString value = categories[i].value().toString();
203203
if ( label.isEmpty() )
204204
label = value;
205-
classes.insert( label, value );
205+
classes.insert( value, label );
206206
}
207207
}
208208

0 commit comments

Comments
 (0)