[QGIS Commit] r13306 - trunk/qgis/src/gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Apr 13 09:05:57 EDT 2010


Author: jef
Date: 2010-04-13 09:05:51 -0400 (Tue, 13 Apr 2010)
New Revision: 13306

Modified:
   trunk/qgis/src/gui/qgsattributeeditor.cpp
Log:
fix #2647

Modified: trunk/qgis/src/gui/qgsattributeeditor.cpp
===================================================================
--- trunk/qgis/src/gui/qgsattributeeditor.cpp	2010-04-13 08:52:51 UTC (rev 13305)
+++ trunk/qgis/src/gui/qgsattributeeditor.cpp	2010-04-13 13:05:51 UTC (rev 13306)
@@ -202,7 +202,7 @@
           QString value = categories[i].value().toString();
           if ( label.isEmpty() )
             label = value;
-          classes.insert( label, value );
+          classes.insert( value, label );
         }
       }
 



More information about the QGIS-commit mailing list