Skip to content

Commit

Permalink
Update src/gui/qgsmaplayerstylecategoriesmodel.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Kuhn <[email protected]>
  • Loading branch information
signedav and m-kuhn authored Dec 5, 2024
1 parent 70b1274 commit e73eecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmaplayerstylecategoriesmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void QgsMapLayerStyleCategoriesModel::setCategories( QgsMapLayer::StyleCategorie
if ( mCategories == categories )
return;

// determine the allowed categories to consider only these in the last categories.
// filter the categories and only preserve the categories supported by the current layer type
QgsMapLayer::StyleCategories allowedCategories;
for ( QgsMapLayer::StyleCategory category : std::as_const( mCategoryList ) )
{
Expand Down

0 comments on commit e73eecc

Please sign in to comment.