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

warn if there is no style associated with a rule (fix #23048) #36954

Merged
merged 2 commits into from
Jun 4, 2020
Merged

warn if there is no style associated with a rule (fix #23048) #36954

merged 2 commits into from
Jun 4, 2020

Conversation

alexbruy
Copy link
Contributor

@alexbruy alexbruy commented Jun 4, 2020

Description

If layer styled with rule-based renderer and some rules have no symbol associated with them user still have "Edit Symbol" entry in the legend entry context menu. Clicking on "Edit Symbol" in this case does nothing (which is correct as there is no symbol) and can be confusing.

Proposed PR adds a popup message explaining that corresponding rule does not have any symbol associated with it. Fixes #23048.

Probably can be backported to 3.10.

@alexbruy alexbruy added GUI/UX Related to QGIS application GUI or User Experience Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Jun 4, 2020
@github-actions github-actions bot added this to the 3.14.0 milestone Jun 4, 2020
@nyalldawson nyalldawson merged commit 9fd82dc into qgis:master Jun 4, 2020
@alexbruy alexbruy deleted the edit-symbol branch June 5, 2020 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Layer panel: "Edit Symbol" does nothing if no symbol defined for a rule (in rule-based rendering)
2 participants