Skip to content

Commit 5b7e60a

Browse files
committed
[fix #19869] fix bad handle of flag removal
1 parent cab5fe0 commit 5b7e60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsmaplayerstylecategoriesmodel.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ bool QgsMapLayerStyleCategoriesModel::setData( const QModelIndex &index, const Q
239239
}
240240
else if ( value.value<Qt::CheckState>() == Qt::Unchecked )
241241
{
242-
mCategories &= category;
242+
mCategories &= ~category;
243243
emit dataChanged( index, index );
244244
return true;
245245
}

0 commit comments

Comments
 (0)