Skip to content

Commit

Permalink
[fix #19869] fix bad handle of flag removal
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Sep 18, 2018
1 parent cab5fe0 commit 5b7e60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmaplayerstylecategoriesmodel.cpp
Expand Up @@ -239,7 +239,7 @@ bool QgsMapLayerStyleCategoriesModel::setData( const QModelIndex &index, const Q
}
else if ( value.value<Qt::CheckState>() == Qt::Unchecked )
{
mCategories &= category;
mCategories &= ~category;
emit dataChanged( index, index );
return true;
}
Expand Down

0 comments on commit 5b7e60a

Please sign in to comment.