Skip to content

set_text_color: check if label is None before assigning value #30

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

Merged
merged 1 commit into from
Apr 12, 2021

Conversation

flavio-fernandes
Copy link
Contributor

Make sure label of text is set before changing its color property.

Fixes: #29

Make sure label of text is set before changing its color property.

Fixes: adafruit#29
@flavio-fernandes
Copy link
Contributor Author

Hello again @makermelissa . ;) I think we may need this change as well in order to have
https://learn.adafruit.com/matrix-portal-new-guide-scroller/code-the-matrix-portal working.

Thanks,

-- flaviof

Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

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

Thanks for finding this! Looks great.

@makermelissa makermelissa merged commit 41ffc84 into adafruit:main Apr 12, 2021
@flavio-fernandes flavio-fernandes deleted the fix.issue.29 branch April 12, 2021 18:38
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Apr 13, 2021
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.

adafruit_portalbase: set_text_color hits exception when label is None
2 participants