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 174a0ddeb7a4a7401b8ce77861a2abc2e0f5e765
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 174a0dd

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