Skip to content

Commit

Permalink
[fix #13487] style categories should not be editable
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Oct 12, 2018
1 parent 448b450 commit 6bade33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmaplayerstylecategoriesmodel.cpp
Expand Up @@ -261,5 +261,5 @@ bool QgsMapLayerStyleCategoriesModel::setData( const QModelIndex &index, const Q

Qt::ItemFlags QgsMapLayerStyleCategoriesModel::flags( const QModelIndex & ) const
{
return Qt::ItemIsEnabled | Qt::ItemIsEditable | Qt::ItemIsUserCheckable;
return Qt::ItemIsEnabled | Qt::ItemIsUserCheckable;
}

1 comment on commit 6bade33

@3nids
Copy link
Member Author

@3nids 3nids commented on 6bade33 Oct 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually fixes #20093

Please sign in to comment.