Skip to content
Permalink
Browse files
fix a bug when deleting style categories (fixes #12043)
  • Loading branch information
SebDieBln committed Nov 28, 2015
1 parent 25c68c6 commit 174a0dd
Showing 1 changed file with 1 addition and 0 deletions.
@@ -309,6 +309,7 @@ bool QgsCategorizedSymbolRendererV2Model::dropMimeData( const QMimeData *data, Q

void QgsCategorizedSymbolRendererV2Model::deleteRows( QList<int> rows )
{
qSort( rows ); // list might be unsorted, depending on how the user selected the rows
for ( int i = rows.size() - 1; i >= 0; i-- )
{
beginRemoveRows( QModelIndex(), rows[i], rows[i] );

0 comments on commit 174a0dd

Please sign in to comment.