Skip to content
Permalink
Browse files

Merge pull request #2510 from SebDieBln/FixDeleteCategories

Fix a bug when deleting style categories (fixes #12043)
  • Loading branch information
m-kuhn committed Nov 29, 2015
2 parents 5473c33 + 174a0dd commit 6aabb8561b4862454162eb3f9e66efbb7b01c0df
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/symbology-ng/qgscategorizedsymbolrendererv2widget.cpp
@@ -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 6aabb85

Please sign in to comment.
You can’t perform that action at this time.