mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
parent
c349130418
commit
92c9a19691
@ -477,7 +477,7 @@ bool labelLessThan( const QgsRendererCategory &c1, const QgsRendererCategory &c2
|
||||
|
||||
bool labelGreaterThan( const QgsRendererCategory &c1, const QgsRendererCategory &c2 )
|
||||
{
|
||||
return !labelLessThan( c1, c2 );
|
||||
return QString::localeAwareCompare( c1.label(), c2.label() ) > 0;
|
||||
}
|
||||
|
||||
void QgsCategorizedSymbolRenderer::sortByLabel( Qt::SortOrder order )
|
||||
|
Loading…
x
Reference in New Issue
Block a user