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

Fix broken qgscolorramp button #5101

Merged
merged 1 commit into from Sep 1, 2017

Conversation

elpaso
Copy link
Contributor

@elpaso elpaso commented Aug 31, 2017

For a misterious reason ( the docs are not completely clear )
calling text() on the ramp QAction returned all string prefixed
with '&' causing the whole button to miss the changed ramp.

By calling iconText() instead we get the right name for
the ramp.

For a misterious reason ( the docs are not completely clear )
calling text() on the ramp QAction returned all string prefixed
with '&' causing the whole button to miss the changed ramp.

By calling iconText() instead we get the right name for
the ramp.
@elpaso elpaso requested a review from nirvn August 31, 2017 16:04
@nirvn
Copy link
Contributor

nirvn commented Sep 1, 2017

@elpaso , looks good. My TIL moment of the day 😉

@elpaso elpaso merged commit d915242 into qgis:master Sep 1, 2017
@elpaso elpaso deleted the fix_pseudocolor_ramp_widget branch September 1, 2017 06:37
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

2 participants