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

Remove invisible layers from legend #7250

Merged

Conversation

rldhont
Copy link
Contributor

@rldhont rldhont commented Jun 15, 2018

Description

Do not show invisible layers in composer legend.
Useful for raster layers as QgsMapHitTest only take care of vector layers.
Related with #14194
Related with #11641

Checklist

  • Commit messages are descriptive and explain the rationale for changes
  • Commits which fix bugs include fixes #11111 in the commit message next to the description
  • I have read the QGIS Coding Standards and this PR complies with them
  • This PR passes all existing unit tests (test results will be reported by travis-ci after opening this PR)
  • I have run the scripts/prepare-commit.sh script before each commit

@rldhont rldhont added the Bugfix label Jun 15, 2018
@rldhont rldhont added this to the 2.18 milestone Jun 15, 2018
@rldhont rldhont requested a review from wonder-sk June 15, 2018 16:11
@rldhont
Copy link
Contributor Author

rldhont commented Jun 15, 2018

@arnaud-morvan here is the backport of #4531

@rldhont
Copy link
Contributor Author

rldhont commented Jun 15, 2018

@gioman @mdouchin other PR to test.

Do not show invisible layers in composer legend.
Useful for raster layers as QgsMapHitTest only take care of vector layers.
Related with qgis#14194
Related with qgis#11641
@rldhont rldhont merged commit 085b939 into qgis:release-2_18 Jun 18, 2018
@rldhont rldhont deleted the composer-filter-legend-nodes-fix-218 branch January 2, 2020 12:05
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.

None yet

3 participants