Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] Clear all DD props before creating symbol preview #7220

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

elpaso
Copy link
Contributor

@elpaso elpaso commented Jun 11, 2018

Fixes #19096 - Applying a data defined size to a categorized layer hides its category symbol in the layers panel and legend

@nyalldawson please have a look

Fixes qgis#19096 - Applying a data defined size to a categorized layer hides its category symbol in the layers panel and legend
@elpaso elpaso added the Bugfix label Jun 11, 2018
@elpaso elpaso added this to the 3.2 milestone Jun 11, 2018
@nyalldawson
Copy link
Collaborator

I think this is safe to do. At least, I can't see anywhere currently where symbolPreviewPixmap is called where the customContext is used AND an expression context is present. So the only regression here would be for properties which are based off expressions which don't rely on any feature attributes (like '1+2').

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants