Skip to content

Commit b6bc442

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsattributeeditor.cpp

+1-1
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)